Search Header Logo

Methods Overloading

Authored by Umadevi N

Computers

University

Used 2+ times

Methods Overloading
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To successfully overload a method in Java, the return types must be ___.

Same

Different

Same but using superclass or subclass types also work

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To successfully overload a method in Java, the argument-list or parameter-list must be ___.

A)

C) -

D) -

Same

Different

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java method overloading implements the OOPS concept ___.

A)

B)

C)

D)

Answer [=]

Inheritance

Polymorphism

Encapsulation

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of defining a method in terms of itself, that is a method that calls itself?

Polymorphism

Abstraction

Encapsulation

Recursion

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Method overloading also known as?

Dynamic polymorphism

Static polymorphism

Both

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Method overloading means?

Multiple methods with same name same arguments

Multiple methods with same name different arguments

Multiple methods with different name different arguments

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a keyword in Java?

Instanceof

emun

transient

strictfp

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