What is dynamic binding? Can u explain with an example?

This question is related to Oracle Interview

Showing Answers 1 - 1 of 1 Answers

Rani NageshBabu

  • Jun 7th, 2006
 

Dynamic Binding [Late Binding]:

The runtime system [JVM]during runtime determines the appropriate method call based on the class of the object.  This feature is called as Polymorphism.  All the methods in java are dynamically resolved.  This cannot be determined by the Compiler.

Early Binding [Early Binding]:

Here, the compiler comes into picture.  It determines which particular method implementation to use based on type of the object.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions