Summary 5.1-5.4

Summary 5.1-5.4

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the scope of private methods and private instance variables?

Back

the declaring class

2.

FLASHCARD QUESTION

Front

Classes’ access specifier is generally set to...

Back

public

3.

FLASHCARD QUESTION

Front

Which of the following would be the state of the Object tree? Options: int height, int girth, boolean deciduous, private boolean deciduous

Back

private boolean deciduous

4.

FLASHCARD QUESTION

Front

We can set the initial state of an object through...

Back

constructors

5.

FLASHCARD QUESTION

Front

Objects cannot have objects as attributes. True or False?

Back

False

6.

FLASHCARD QUESTION

Front

When we use a class as an attribute in another class the class we are using as an attribute will be the ______ _____ of the class that is using it as an attibute.

Back

data type

7.

FLASHCARD QUESTION

Front

An object's state is defined by the object's...

Back

instance variables and values

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?