Search Header Logo

Intro - Constructor Refresher

Authored by Mark Galesi

Computers

Used 7+ times

Intro - Constructor Refresher
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A class describes an object's...

properties and behaviors
colors and dimensions
size and shape
none of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False? Most classes contain a main method.

True
False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sections of a Java class would be found at the top of the code?

class header
variable declaration(s)
constructor(s)
method(s)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sections of a Java class would be found after the class header?

import statements
variable declaration(s)
constructor(s)
method(s)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sections of a Java class would be found after variable declarations?

import statements
variable declaration(s)
constructor(s)
method(s)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement 
 Bank tom = new Bank(5000.0);
Which is the class?

Bank
tom
new
5000.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement 
Bank tom = new Bank(5000.0);

Which is the object?

Bank
tom
new
5000.0

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?