DEVFYI - Developer Resource - FYI

Explain the different forms of Polymorphism.

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

398. Explain the different forms of Polymorphism.

From a practical programming viewpoint, polymorphism exists in three distinct forms in Java:
Method overloading
Method overriding through inheritance
Method overriding through the Java interface

(Continued on next question...)

Other Interview Questions