Methods Overloading

Methods Overloading

University

7 Qs

quiz-placeholder

Similar activities

AP CSA Inheritance Polymorphism

AP CSA Inheritance Polymorphism

University

10 Qs

OOP-1

OOP-1

University

10 Qs

DesignPatterns

DesignPatterns

University

9 Qs

BINARY BRAINS

BINARY BRAINS

University

10 Qs

JAVA I/O

JAVA I/O

University

10 Qs

Java Unit 1

Java Unit 1

University

10 Qs

Jetpack Workshop

Jetpack Workshop

University

10 Qs

MethodOverloading in JAVA- 3CSM2

MethodOverloading in JAVA- 3CSM2

University

10 Qs

Methods Overloading

Methods Overloading

Assessment

Quiz

Computers

University

Medium

Created by

Umadevi N

Used 2+ times

FREE Resource

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