
Inheritance #1
Authored by Jennifer Hoagland
Computers
10th - 12th Grade
Used 28+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following reserved words is used when one class extends another class?
extends
inherits
this
super
static
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following reserved words is used when accessing a class as a whole?
parent
super
this
that
sub
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of line 1?
0
3
6
9
12
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of line 2?
0
3
6
9
12
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of line 1?
0
3
6
9
12
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of line 2?
0
3
6
9
12
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of line 3?
0
3
6
9
12
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?