Java Method

Java Method

University

15 Qs

quiz-placeholder

Similar activities

4thQuarter Review Comprog 2

4thQuarter Review Comprog 2

11th Grade - University

20 Qs

Trắc nghiệm kiến thức Java Core - Phần I

Trắc nghiệm kiến thức Java Core - Phần I

University

15 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

Java Basics

Java Basics

University

10 Qs

QUIZ DASAR DASAR PEMROGRAMAN JAVA

QUIZ DASAR DASAR PEMROGRAMAN JAVA

11th Grade - University

20 Qs

Python - Functions

Python - Functions

University

10 Qs

javaquizvivek

javaquizvivek

University

12 Qs

JAVA Basics Quiz

JAVA Basics Quiz

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?