Java Inheritance
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Mildred Ferido
Used 13+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which OOP features where one class inherits all the properties and behaviors of another class?
Polymorphism
Inheritance
Abstraction
Encapsulation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What do you call a class that inherits the properties of another class?
superclass
subsetclass
subclass
relativeclass
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which of these keywords must be used to inherit a class?
super
this
void
extends
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What type of inheritance where the subclass inherits superclass?
Single Inheritance
Multi-level Inheritance
Hierarchical Inheritance
Multiple Inheritance
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which of these syntaxes is the correct way of how the class Dog inherit from the class Animal?
class Dog + class Animal {}
class Dog inherits class Animal {}
class Dog extends Animal {}
class Dog extends class Animal {}
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Programación Fiesta de Bale
Quiz
•
1st Grade - University
10 questions
Variables and Data Types
Quiz
•
10th - 12th Grade
10 questions
PRE-TEST OS INSTALLATION
Quiz
•
10th Grade
10 questions
Ciência da Computação - Internet
Quiz
•
11th Grade
10 questions
Pemrograman Android KD 3.28/4.28
Quiz
•
1st Grade - Professio...
10 questions
Administrasi Infrastruktur Jaringan
Quiz
•
11th Grade
10 questions
Konsep Pemodelan Berorientasi Objek
Quiz
•
11th Grade
10 questions
Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)
Quiz
•
12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
