Search Header Logo

Inheritance

Authored by Umadevi N

Computers

University

Used 5+ times

Inheritance
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Inheritance means

Sub class extends Base class

Sub class extends super class

Sub class create object of super class

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

this

super

extent

extends

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is not type of inheritance?

Single inheritance

Double inheritance

Multiple inheritance

Hierarchical inheritance

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the features reused using Inheritance in Java?

Variables

Constants

Methods

All the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which inheritance in java programming is not supported

A.

B.

C. Multiple inheritance using classes

D.

Single inheritance

Multilevel inheritance

Multiple inheritance using classes

Multiple inheritance using interfaces

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keywords is used to refer to member of base class from a sub class?

super

upper

this

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A class member declared protected becomes member of subclass of which type?

A.

B.

C.

D.

public member

private member

static member

protected member

Access all questions and much more by creating a free account

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?

Discover more resources for Computers