Search Header Logo

Summary 5.1-5.4

Authored by LaShawne Long Myles

Computers

9th - 12th Grade

Used 2+ times

Summary 5.1-5.4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following class members that should be public?

instance varibles

constructors

methods used within the class

methods used in the main

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

the declaring class

the main class

any class

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Classes’ access specifier is generally set to...

accessor

mutator

private

public

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following would be the state of the Object tree?

int height

int girth

boolean deciduous

private boolean deciduous

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

methods

constructors

variables

instance varibles

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Objects cannot have objects as attributes.

True
False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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.

data type

instance variable

parameter

method

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?