Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Unit01 Quizizz01

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

A blueprint for similar objects

a)

class

b)

parameter

c)

instance

d)

method

2.

Allows for communication

a)

class

b)

method

c)

instance

d)

state

3.

Stores numbers with no decimals

a)

int

b)

class

c)

String

d)

double

4.

Best defined as a Java class

a)

"blue"

b)

A man named Joe

c)

The number 25

d)

A person

5.

Keyword to create a Java object

a)

int

b)

class

c)

new

d)

changeSize

6.

Name the parameter in the method wrapper:


public void eat(String food) {...}

a)

eat

b)

void

c)

food

d)

public

7.

Which method is not named greeting?

a)

public void greeting() {...}

b)

public void hello(String greeting) {...}

c)

public int greeting(String greeting) {...}

d)

public int greeting(String hello) {...}

8.

Which of the following is the worst example of a Java class?

a)

A school

b)

A classroom

c)

Lunch

d)

Megan's cell phone

9.

What is the name of the method?:

public void jump(double howHigh) {...}

a)

public

b)

double

c)

howHigh

d)

jump

10.

Extra information required when communicating with a Java object

a)

a field

b)

a parameter

c)

a class

d)

the state