
Inheritance

Quiz
•
Computers
•
University
•
Hard
Umadevi N
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Inheritance + java

Quiz
•
University
10 questions
Quiz on OOPs- Day 1 (30-01-2025)

Quiz
•
University
10 questions
Unit 1 - Classes and Objects

Quiz
•
University
10 questions
STM 20483 QUIZ 1

Quiz
•
University
8 questions
PRG521 Chap8

Quiz
•
University
10 questions
Java Quiz 1

Quiz
•
University
10 questions
P1_APLab2Quiz_B3B4

Quiz
•
University
15 questions
Polymorphism

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade