Methods Overloading

Methods Overloading

University

7 Qs

quiz-placeholder

Similar activities

DEBUG THE CODE

DEBUG THE CODE

University

10 Qs

Quiz1

Quiz1

University

8 Qs

C MCQ's for Interview

C MCQ's for Interview

University

10 Qs

object oriented programming

object oriented programming

11th Grade - University

10 Qs

Java Quiz 1

Java Quiz 1

University

10 Qs

AP CSA Unit 9 Inheritance - Polymorphism

AP CSA Unit 9 Inheritance - Polymorphism

University

10 Qs

Unit 1 - Classes and Objects

Unit 1 - Classes and Objects

University

10 Qs

Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

University

12 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