Programming - Polymorphism
You Are Here :: Home > JAVA > Polymorphism - General Questions
1. |
__________________ concept is also same as many forms.
|
A. |
Polymorphism |
B.
|
Encapsulation |
C.
|
Inheritance
|
D.
|
Abstraction
|
|
Answer: Option A
Explanation:
|
2. |
________________ is very useful concept of OOPs and used in JAVA to customize developers code.
|
A. |
Polymorphism |
B.
|
encapsulation |
C.
|
inheritance
|
D.
|
abstraction
|
|
Answer: Option A
Explanation:
|
3. |
__________________ is capability of an action or method to do different things based on the object that it is acting upon.
|
A. |
Polymorphism |
B.
|
encapsulation |
C.
|
inheritance
|
D.
|
abstraction
|
|
Answer: Option A
Explanation:
|
4. |
How many types of Polymorphism?
|
|
Answer: Option B
Explanation:
|
5. |
_______________ Is the ability of methods to behave differently , based on the object calling it.
|
A. |
Polymorphism |
B.
|
encapsulation |
C.
|
inheritance
|
D.
|
abstraction
|
|
Answer: Option A
Explanation:
|
6. |
The most common use of ___________________ in OOP occurs when a parent class reference is used to refer to a child class object.
|
A. |
Polymorphism |
B.
|
encapsulation |
C.
|
inheritance
|
D.
|
abstraction
|
|
Answer: Option A
Explanation:
|
next »