Java Method

Java Method

12th Grade

19 Qs

quiz-placeholder

Similar activities

C# 101 Assessment

C# 101 Assessment

9th - 12th Grade

20 Qs

APCSA  Unit 1 Review

APCSA Unit 1 Review

11th - 12th Grade

20 Qs

Topic 4.5 Method Part 2

Topic 4.5 Method Part 2

12th Grade

19 Qs

002_Java Methods

002_Java Methods

12th Grade - University

15 Qs

Parts of a Method (Java)

Parts of a Method (Java)

9th Grade - University

16 Qs

Java Their

Java Their

9th - 12th Grade

18 Qs

NV: Java Interface Quiz

NV: Java Interface Quiz

12th Grade

22 Qs

Java Methods

Java Methods

9th Grade - University

23 Qs

Java Method

Java Method

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Harith Hasan

Used 23+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A method consists of a collection of __________.

lines

statements

parameter

return values

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

  1. Advantages of using the method.

  • Code reusability

Easier to debug

to complicate the solution

  • to organize and simplify coding.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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.

User defined method

Predefined method / standard library

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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.

User defined method

Predefined method / standard library

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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.

User defined method

Predefined method / standard library

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the type of  method based on the description given below:

public static void main (String [ ] args) {

   Math.pow (6,3)

User defined method

Predefined method / standard library

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the type of  method based on the description given below:

public static void product3 ( String first ) { 

   System.out.print(“ Hello world” + first ); 

User defined method

Predefined method / standard library

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?