Method Review II

Method Review II

12th Grade

11 Qs

quiz-placeholder

Similar activities

Bài 3: Kiểu dữ liệu 1

Bài 3: Kiểu dữ liệu 1

12th Grade

10 Qs

KUIZ JAVA SK T4 - Pengisytiharan

KUIZ JAVA SK T4 - Pengisytiharan

12th Grade

6 Qs

SAINS KOMPUTER - FUNGSI UTILITI DALAM JAVA

SAINS KOMPUTER - FUNGSI UTILITI DALAM JAVA

12th Grade - University

10 Qs

Casting in Java

Casting in Java

9th - 12th Grade

11 Qs

Code.org CSP Unit 4 Review

Code.org CSP Unit 4 Review

9th - 12th Grade

6 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

Method Review II

Method Review II

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Mr. Kedwell

Used 5+ times

FREE Resource

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

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?