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
Gmail Login
Quiz
•
KG - 12th Grade
10 questions
Review MSWord 2013
Quiz
•
10th - 12th Grade
10 questions
Computer Aided Design
Quiz
•
11th Grade
10 questions
T_(b)(C)_4.1 Introduction to Java Program
Quiz
•
12th Grade
10 questions
HTML dan CSS 2
Quiz
•
10th Grade
10 questions
Cyber Security Starter
Quiz
•
9th - 10th Grade
10 questions
old movies
Quiz
•
9th Grade
7 questions
CSS Rules Quiz-unit 4 CodeHS
Quiz
•
7th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
