
What Do You Remember About Inheritance
Authored by Mrs. Cossa
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we want to make Athlete a subclass of Robot, what keyword do we use below?
public class Athlete ____?____Robot
extends
isa
implements
subclass
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If Athlete extends Robot, which is NOT true?
Athlete inherits from Robot
Robot inherits from Athlete
Athlete is the subclass
Robot is the superclass
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We have 3 classes: Robot with a subclass Athlete with a subclass Climber. All objects need to be able to "move()". Where should this method be defined?
In all 3 classes
Climber
Athlete
Robot
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We have 3 classes: Robot with a subclass Athlete with a subclass Climber. Climber objects need to be able to "climb()". Where should this method be defined?
In all 3 classes
Climber
Athlete
Robot
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We have 3 classes: Robot with a subclass Athlete with a subclass Climber. Athlete and Climber objects need to be able to "turnRight()". Where should this method be defined?
In all 3 classes
Climber
Athlete
Robot
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Constructors are not inherited. However, subclasses can still call constructors from the superclass with what keyword?
extends
new
const
super
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Climber class has a method climbUpRight(). Although the subclass, HillClimber, inherits this method it redefines it with a different defintiion. This is called?
overriding
overloading
a waste of time
inheritance
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
Java Features Quiz
Quiz
•
10th Grade
12 questions
Kiểm tra
Quiz
•
12th Grade
12 questions
Інформатика 5 Нуш Пайтон 2 Графіка п 25-26
Quiz
•
12th Grade
12 questions
Control Systems
Quiz
•
6th - 9th Grade
10 questions
Advanced Java Study Guide
Quiz
•
11th - 12th Grade
10 questions
Timeline of Computer History
Quiz
•
9th Grade
10 questions
Pensamiento Computacional
Quiz
•
8th - 11th Grade
10 questions
Dasar Koding dan Kecerdasan Artifisial
Quiz
•
10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
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
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade