Search Header Logo

Accessor Methods in Java

Authored by Fedaa Al Azzeh

Computers

11th - 12th Grade

Used 6+ times

Accessor Methods in Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Identify the error that exist in this method program:-

Wrong use of return method type

variable extra was unknown.

doble is not one of the data type

A wrong use of hour data type.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Identify the error that exist in this method program:-

Wrong use of return method type

variable extra was unknown.

doble is not one of the data type

A wrong use of hour data type.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the Output if the argument is (5500.00, 12.5)

There will be no output.

20, 625.00

27,500.00

34,375.00

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the Output if the argument is (13.0, 2789.00)

14,502.00

10,877.00

18,128.50

There will be no output.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Maximum how many value a method may return?

0

1

2

infinite

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

What will be the output of given program, if main() method is selected for execution?

7.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

A ___________ is a pre-defined set of steps that complete a specific task, optionally based on parameter values, and optionally returning some result.

array

function

method

module

class

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers