Method Review II

Method Review II

12th Grade

11 Qs

quiz-placeholder

Similar activities

Python Testing

Python Testing

9th - 12th Grade

10 Qs

Java Collection

Java Collection

12th Grade

10 Qs

YouCode Scratch Quiz

YouCode Scratch Quiz

KG - 12th Grade

10 Qs

Unit A Review

Unit A Review

11th - 12th Grade

12 Qs

BÀI 17

BÀI 17

9th - 12th Grade

10 Qs

PRE-ASSESSMENT ETECH  M1

PRE-ASSESSMENT ETECH M1

12th Grade

10 Qs

Conhecimentos prévios em Java

Conhecimentos prévios em Java

10th - 12th Grade

10 Qs

Method Review II

Method Review II

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Mr. Kedwell

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?