Which of the following is an excellent example of runtime polymorphism?
A. Overloading of methods
B. Overriding the method
C. Overloading of constructors
D.none of the preceding
Answer:B
Which of the following is an excellent example of runtime polymorphism?
A. Overloading of methods B. Overriding the method C. Overloading of constructors D.none of the preceding
Explanation: Overriding the method