Search Header Logo

JAVA

Authored by Dr. R. MALATHI

Other

Professional Development

JAVA
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keywords is used to make a class?

class

struct

int

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid declaration of an object of class Box?

Box obj = new Box();

Box obj = new Box;

obj = new Box();

new Box obj;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of defining more than one method in a class differentiated by method signature?

Function overriding

Function overloading

Function doubling

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method can be defined only once in a program?

main method

finalize method

static method

private method

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the return type of Constructors?

int

float

void

none of the mentioned

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?