AP CSA Unit 9 - Inheritance

AP CSA Unit 9 - Inheritance

9th - 12th Grade

22 Qs

quiz-placeholder

Similar activities

Penilaian Akhir Semester (PAS) Pemrograman Web dan PPL

Penilaian Akhir Semester (PAS) Pemrograman Web dan PPL

12th Grade

20 Qs

Steve Jobs

Steve Jobs

6th - 12th Grade

22 Qs

computer Lab Manners

computer Lab Manners

5th - 10th Grade

19 Qs

Web Design: Chapter 2 Exam

Web Design: Chapter 2 Exam

9th - 12th Grade

20 Qs

Visual Basic Assessment

Visual Basic Assessment

11th - 12th Grade

21 Qs

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

1.2.3 Units and Number systems

1.2.3 Units and Number systems

10th - 11th Grade

20 Qs

business 1.4 revision

business 1.4 revision

KG - Professional Development

20 Qs

AP CSA Unit 9 - Inheritance

AP CSA Unit 9 - Inheritance

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Danielle Mills

Used 17+ times

FREE Resource

AI

Enhance your content in a minute

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

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

Consider the code provided.

airLevel = 0; needs to use the this keyword. Like so, this.airLevel = 0;

Java interfaces must not include any implementation logic.

All of the method declarations should be private.

All of the methods must include their implementation logic.

Interface methods can not return void.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If more than one class implements an interface, its methods are ____.

aggregated
public
dependent
polymorphic

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if a variable or method is made private?

It can be accessed by any class inherited from the current class
It can be accessed from another object unrelated to the current one.
It cannot be accessed by an unrelated object from the outside.
It cannot be accessed by anything

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What does Encapsulation mean?

Classes share stuff with subclasses
Grouping fields and member functions together
Making an object from a class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is this?

Variable
Constructor
Field

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What are these?

Getter and setter methods
Constructors
Fields

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An object is an _________ of a class.

iteration
inheritance
instance

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?