Search Header Logo

Finals Quiz 1

Authored by ALVIN CERTEZA

Computers

University

Used 7+ times

Finals Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To use a predefined method of a class contained in the package

java.lang in a program, you only need to know what the name of

the method is and how to use it.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A value-returning method returns only one value via the return

statement.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Parameters allow you to use different values each time the method is

called.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a return statement executes in a user-defined method, the

method immediately exits.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A value-returning method returns only integer values.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a Java method does not use parameters, parentheses around the empty

parameter list are still needed.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java, the names of the corresponding formal and actual parameters

must be the same.

True

False

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?