Inheritance Day 3

Inheritance Day 3

12th Grade

13 Qs

quiz-placeholder

Similar activities

Quiz sobre Interfaces en Java y Spring Core

Quiz sobre Interfaces en Java y Spring Core

12th Grade

15 Qs

AP CSA Unit 1 & 2 Review

AP CSA Unit 1 & 2 Review

9th - 12th Grade

10 Qs

Java Lab Code.org AP CSA

Java Lab Code.org AP CSA

9th - 12th Grade

18 Qs

AP CSA Arrays

AP CSA Arrays

10th - 12th Grade

14 Qs

Exploring Computer Science

Exploring Computer Science

10th - 12th Grade

14 Qs

AP CSA Unit 1 Intro

AP CSA Unit 1 Intro

9th - 12th Grade

16 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Loops

Loops

5th - 12th Grade

16 Qs

Inheritance Day 3

Inheritance Day 3

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Jeffrey Smith

Used 8+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?