Run Time Polymorphism vs Compile Time polymorphism

We know what polymorphism is. Many forms by the same object. Real world example can be a woman. She has many forms. At home, she is a mother, sister, wife, at office she is an employee etc. In java, polymorphism is two types: Compile Time Polymorphism and Run Time Polymorphism. Compile time polymorphism is achieved … Continue reading Run Time Polymorphism vs Compile Time polymorphism