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

How many arguments can a method have java?

812


What is a stringbuffer?

753


Difference between predicate, supplier and consumer ?

815


Can we have multiple classes in single file ?

825


What is the full name of java?

817


How is string immutable in java?

797


What is tree node in java?

731


What do you mean by chromounits in java8?

726


Why can't you declare a class as protected?

812


How many types of voids are there?

761


How will you load a specific locale?

750


What is thread synchronization in java?

670


What is command line argument

951


Is empty string in java?

827


What is the use of keywords in java?

769