a) Compile time polymorphism
b) Multiple polymorphism
c) Execution time polymorphism
d) Multilevel polymorphism
Answer: a
Explanation: There are two types of polymorphism in Java – 1) Compile time polymorphism (overloading) and 2) runtime polymorphism (overriding).
Related Posts
What would be behaviour if the constructor has a return type?
What would be the behaviour if one parameterized constructor is explicitly defined?
What is not the use of “this” keyword in Java?
What is true about protected constructor?
Abstract class cannot have a constructor.
What is true about constructor?
What is true about Class.getInstance()?
Join The Discussion