Method Review II

Method Review II

12th Grade

11 Qs

quiz-placeholder

Similar activities

Data Structures: Linked Lists and Hashtables

Data Structures: Linked Lists and Hashtables

11th Grade - University

14 Qs

Ap computer science a

Ap computer science a

1st - 12th Grade

15 Qs

PPE & Tools

PPE & Tools

11th - 12th Grade

10 Qs

Know thy Peer-to-Peer

Know thy Peer-to-Peer

12th Grade

10 Qs

Bài 29. Nhận biết lỗi chương trình

Bài 29. Nhận biết lỗi chương trình

9th - 12th Grade

14 Qs

Internet Technologies

Internet Technologies

12th Grade

10 Qs

ARRAYS

ARRAYS

11th - 12th Grade

10 Qs

Excel - 1

Excel - 1

KG - University

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?