Java Method

Java Method

University

15 Qs

quiz-placeholder

Similar activities

Lets explore Java

Lets explore Java

University

14 Qs

Java Class

Java Class

University

10 Qs

C - Java class

C - Java class

University

10 Qs

Java Arrays

Java Arrays

University

10 Qs

oops using java quiz

oops using java quiz

University

15 Qs

Basic Java Quiz

Basic Java Quiz

University

15 Qs

FGCT4025 Topic 3 - Method

FGCT4025 Topic 3 - Method

University

15 Qs

Java, part I

Java, part I

11th Grade - University

20 Qs

Java Method

Java Method

Assessment

Quiz

Computers

University

Medium

Created by

rasyida rahman

Used 1K+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Describe method.

A component of a program in a big program.

A program to perform a specific task.

A component of a program written to perform a specific task.

A variable that use to read an input.

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

There two (2) types of method which are

return

Standard library

User defined

non-return

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is a general structure a method.

<Returnvalue type> <Method Name> (argument / s)

<Modifier> < type> <Method Name> (parameter / s)

public static void main (String[ ] args)

<Method Name> (parameter)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

This is an example of a non-return method.

True

False

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

In which line is representing the meaning of Standard library method.

Line 2

Line 8

Line 13

Line 10

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Identify the line with syntax error.

Line 8 and Line 15

Line 10 only

Line 6, Line 8, Line 10

Line 8, Line 11 and Line 15

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Method make codes more readable and easier to debug.

True

False

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?