Inheritance Day 3

Inheritance Day 3

12th Grade

13 Qs

quiz-placeholder

Similar activities

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Review

Review

9th - 12th Grade

10 Qs

Structures de données

Structures de données

12th Grade

10 Qs

Exploration with Game Art

Exploration with Game Art

9th - 12th Grade

10 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Excel

Excel

10th - 12th Grade

15 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Inheritance Day 3

Inheritance Day 3

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Jeffrey Smith

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

// Type error if there is an erro

A obj1 = new A();

   obj1.setX(10);

   System.out.println(obj1);

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

// type error if there is an error

A obj1 = new A();

obj1.setY(13);

System.out.println(obj1);

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

// type error if there is an error

A obj1 = new A();

obj1.sayHi();

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How long is an Olympic swimming pool (in meters)?

25

50

75

100

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

// type error if there is an error

B obj2 = new A();

System.out.println(obj2);

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

// if there is an error type error

A obj3 = new B();

obj3.setX(15);

System.out.println(obj3);

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

// type error if there is an error

A obj3 = new B();

obj3.setY(20);

System.out.println(obj3);

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?