Search Header Logo

Java Chapter 5 Review Questions

Authored by Alejandro Hidalgo

Computers

Professional Development

Used 4+ times

Java Chapter 5 Review Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This type of method does not return a value

null

void

empty

anonymous

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This appears at the beginning of a method definition

semicolon

parenthesis

body

header

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The body of a method is enclosed in:

curly braces { }

square brackets [ ]

parentheses ( )

quotation marks " "

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A method header can contain:

method modifiers

the method return type

The method name

a list of parameter declarations

all of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A value that is passed into a method when it is called is known as a(n):

parameter

argument

signal

return value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that receives a value that is passed into a method is known as a(n):

parameter

argument

signal

return value

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This javadoc tag is used to document a parameter variable

@parameter

@param

@paramvar

@arg

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?