why java does compile time polymorphism at run time ?

Answer Posted / bharathi

no..compile time polymorphism is static binding and it s
overloading concept.. dynamic binding is the overridding
concept and is meant as runtime polymorphism. jvm determines
the method to call at runtime and not in compile time. A
runtime polymorphism acts by inheritance and virtual functions.

Is This Answer Correct ?    21 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can singleton class be serialized?

747


What is the symbol for space?

786


What does a method signature consist of?

747


What are the important methods of java exception class?

778


What is difference between null and void?

749


What is meant by attribute?

802


How much ram can a 64 bit processor theoretically?

697


What are the types of strings?

813


What is difference between path and classpath variables?

839


Can we make the abstract methods static in java?

827


What is palindrome in java?

767


Where import statement is used in a java program?

845


What are instance variables?

850


What is a null class?

789


Why char array is preferred over string for storing password?

862