Java Method

Java Method

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

A method consists of a collection of __________.

Back

statements

2.

FLASHCARD QUESTION

Front

Identify the type of method based on the description given below:
Programmers need to write their own method and perform action based on given instruction.

Back

User defined method

3.

FLASHCARD QUESTION

Front

Identify the type of method based on the description given below: Programmers can directly use this type of method which is readily available in Java language.

Back

Predefined method / standard library

4.

FLASHCARD QUESTION

Front

Identify the type of method based on the description given below:
Programmers use a Java Math class which returns the square root of a specific number, x.

Back

Predefined method / standard library

5.

FLASHCARD QUESTION

Front

Identify the type of method based on the description given below:
public static void main (String [ ] args) {
Math.pow (6,3)
}

Back

Predefined method / standard library

6.

FLASHCARD QUESTION

Front

Identify the type of method based on the description given below:
public static void product3 ( String first ) {
System.out.print(“ Hello world” + first );
}

Back

User defined method

7.

FLASHCARD QUESTION

Front

Identify the type of method based on the description given below:
Programmers write a method named printMessage.

Back

User defined method

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?