65. Working with inheritance - Part 3

65. Working with inheritance - Part 3

Professional Development

15 Qs

quiz-placeholder

Similar activities

Subqueries Quiz

Subqueries Quiz

Professional Development

15 Qs

Quiz on C++_1

Quiz on C++_1

Professional Development

20 Qs

Inheritance in C++

Inheritance in C++

12th Grade - Professional Development

12 Qs

CODE-P1

CODE-P1

Professional Development

10 Qs

Java OOP

Java OOP

Professional Development

10 Qs

C# Interfaces

C# Interfaces

Professional Development

16 Qs

PBO

PBO

Professional Development

10 Qs

SPARK FIDDLE

SPARK FIDDLE

Professional Development

20 Qs

65. Working with inheritance - Part 3

65. Working with inheritance - Part 3

Assessment

Quiz

Computers

Professional Development

Easy

Created by

ANIL KUMAR

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the three types of inheritance in Java?
Single, Multiple, Hybrid
Single, Double, Multiple
Single, Multiple, Hierarchical
Single, Multilevel, Hybrid

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is correct way to use inheritance in Java?
extends keyword
implements keyword
inherits keyword
derives keyword

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the working of inheritance in Java?
Code reusability and method overriding
Code reusability and method overloading
Method overloading and method overriding
Method overriding and method extending

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to handle inheritance in Java?
Using final keyword
Using static keyword
Using abstract keyword
Using private keyword

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the 5 types of inheritance?
Single, Multiple, Multilevel, Hierarchical, Hybrid
Single, Double, Multilevel, Hierarchical, Hybrid
Single, Multiple, Multilevel, Hierarchical, Dynamic
Single, Double, Multilevel, Hierarchical, Dynamic

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which inheritance is best in Java?
Single
Multiple
Multilevel
Hierarchical

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the syntax of inheritance of class?
class ChildClass extends ParentClass
class ChildClass inherits ParentClass
class ChildClass extends from ParentClass
class ChildClass is-a ParentClass

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?