Search Header Logo

Method Review II

Authored by Mr. Kedwell

Computers

12th Grade

Used 5+ times

Method Review II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword defines you do not need to create an object of this class to call this method?
public static void fullName(userFirst,userMiddle,userLast);

fullName

public

static

void

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you have two methods with the same name and same parameter list in the same class file?

YES

NO

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a method, the return type should be __________ when the method returns no value.

Static
Private
Public
Void

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These control the behavior of a program.

class
object
method
void

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you have two methods with the same name in the same class file?

YES

NO

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the return type of the method declared below?

public static void doubleNum(int numRec){}

int

nothing

static

numRec

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the return type of the method declared below?

public static double doubleNum(int numRec){}

int

nothing

double

static

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?