Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Technical Discussion :: Java

7. What are the differences between Static Binding and Dynamic Binding?


The difference between static and dynamic binding in Java.

  1. Static binding happens at compile-time while dynamic binding happens at runtime.

  2. Binding of private, static and final methods always happen at compile time since these methods cannot be overridden. Binding of overridden methods happens at runtime.

  3. Java uses static binding for overloaded methods and dynamic binding for overridden methods.


Asked In :: Wipro Sopra Steria

Post Your Answer Here:

Name *
Alert me

Post Your Reply Here:

Report Error

Please Login First Click Here