JAVA

JAVA

University

20 Qs

quiz-placeholder

Similar activities

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

6INFOMAN (Recitation)

6INFOMAN (Recitation)

University - Professional Development

20 Qs

MESYUARAT KE-3 MYTECC ASSEMBLY: TOGETHER WE BIND

MESYUARAT KE-3 MYTECC ASSEMBLY: TOGETHER WE BIND

University

20 Qs

Family Quizz

Family Quizz

5th Grade - Professional Development

15 Qs

QUIZ 2

QUIZ 2

University

20 Qs

Fun with Computer Architecture

Fun with Computer Architecture

University

15 Qs

Review Quiz (Chapter 3&4)

Review Quiz (Chapter 3&4)

University

20 Qs

JAVA

JAVA

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Sowmya D

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is true about Interfaces?

An Interface can contain constructors.

An Interface can be instantiated.

An Interface can extend another Interface

An Interface is extended by a class.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

................. is the class from where a subclass inherits the features.


Class

Sub Class

Super Class

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Subclass is also called a ...........

Derived Class

Extended Class

Child Class

All the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

is an example of

Single Inheritance

Multiple Inheritance

Multilevel Inheritance

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of this keyword must be used to inherit a class?

Super

this

extend

extent

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is correct way of inheriting class A by class B?

class B + class A {}

class B inherits class A {}

class B extends A {}

class B extends class A {}

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of this program?

2 2

2 3

3 3

3 2

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?