Search Header Logo

Inheritance #1

Authored by Jennifer Hoagland

Computers

10th - 12th Grade

Used 28+ times

Inheritance #1
AI

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

Media Image

What is the output of line 1?

0

3

6

9

12

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of line 2?

0

3

6

9

12

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of line 1?

0

3

6

9

12

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of line 2?

0

3

6

9

12

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?