Inheritance Day 3

Inheritance Day 3

12th Grade

13 Qs

quiz-placeholder

Similar activities

Unit 6 Arrays

Unit 6 Arrays

10th - 12th Grade

14 Qs

Quiz sobre Interfaces en Java y Spring Core

Quiz sobre Interfaces en Java y Spring Core

12th Grade

15 Qs

Arrays Unit 6 AP CSA

Arrays Unit 6 AP CSA

10th - 12th Grade

14 Qs

Codehs Unit 6

Codehs Unit 6

10th - 12th Grade

14 Qs

Arrays Unit 6 Computer Science

Arrays Unit 6 Computer Science

10th - 12th Grade

14 Qs

AP CSA Java Arrays

AP CSA Java Arrays

10th - 12th Grade

14 Qs

AP Computer Science A

AP Computer Science A

10th - 12th Grade

10 Qs

CuestionarioJava_1

CuestionarioJava_1

9th - 12th Grade

8 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?