JAVA

JAVA

University

20 Qs

quiz-placeholder

Similar activities

OOP in Python

OOP in Python

University

15 Qs

Techies's Question Set for Club Day

Techies's Question Set for Club Day

University

20 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

Classes Relationships in Java Programming

Classes Relationships in Java Programming

University

20 Qs

Multithreading in java

Multithreading in java

University

20 Qs

OOPs Fundamentals

OOPs Fundamentals

University

25 Qs

AJP - UNIT I - DESIGN PATTERNS

AJP - UNIT I - DESIGN PATTERNS

University

20 Qs

JAVA

JAVA

Assessment

Quiz

Computers

University

Hard

Created by

Sowmya D

Used 3+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?