Java Chapter 5 Review Questions

Java Chapter 5 Review Questions

Professional Development

20 Qs

quiz-placeholder

Similar activities

Functions on C

Functions on C

Professional Development

15 Qs

Golang Fiber with GORM

Golang Fiber with GORM

Professional Development

24 Qs

MongoDB

MongoDB

Professional Development

19 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

Microsoft Office Excel Chapter 2

Microsoft Office Excel Chapter 2

Professional Development

17 Qs

Sains Komputer Tingkatan 4 - 1.6.3 Membezakan antara

Sains Komputer Tingkatan 4 - 1.6.3 Membezakan antara

1st Grade - Professional Development

16 Qs

Menus, Dialog Boxes and Methods

Menus, Dialog Boxes and Methods

10th Grade - Professional Development

17 Qs

Java Basics

Java Basics

Professional Development

17 Qs

Java Chapter 5 Review Questions

Java Chapter 5 Review Questions

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Alejandro Hidalgo

Used 4+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?