Which of this keyword must be used to inherit a class?
Access Modifiers, Inheritance & Polymorphism

Quiz
•
Computers
•
University
•
Hard
SrinivasaRao SrinivasaRao
Used 309+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
super
this
extent
extends
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A class member declared protected becomes a member of subclass of which type?
public member
private member
protected member
static member
3.
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 {}
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this program?
0
1
2
Compilation Error
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this program?
2 2
3 3
2 3
3 2
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this program?
1 2
2 1
Runtime Error
Compilation Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is not type of inheritance?
Single inheritance
Double inheritance
Hierarchical inheritance
Multiple inheritance
Create a free account and access millions of resources
Similar Resources on Quizizz
42 questions
Meeting 1.1: Setting up your dev environment

Quiz
•
University
35 questions
Unit 9.1 - Textual Programming

Quiz
•
8th Grade - University
39 questions
Java Midterm

Quiz
•
University
40 questions
Takeshi's Castle Rapid Fire

Quiz
•
University
40 questions
Android Development Associate

Quiz
•
University
39 questions
Advanced Object Oriented Programming

Quiz
•
University
35 questions
Python Basics till Logical Operators

Quiz
•
University
37 questions
PL/SQL Advanced knowledge

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade