Presentations | English
Polymorphism in Java is the ability of an object to take many forms. Compile-Time polymorphism in java is also known as Static Polymorphism. In this process, the call to the method is resolved at compile-time. Whenever an object is bound with their functionality at the compile-time, this is known as the compile-time polymorphism. At compile-time, java knows which method to call by checking the method signatures. This kind of polymorphism is achieved through method overloading. Method Overloading says you can have more than one function with the same name in one class having a different prototype. Function overloading is one of the ways to achieve polymorphism but it depends on technology that which type of polymorphism we adopt. In java, we achieve function overloading at Compile-Time. Have a look at the presentation for resourceful materials.
5.25
Lumens
PPTX (21 Slides)
Presentations | English