[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: Java

26 / 66

What are the differences between Static Binding and Dynamic Binding?

Answer:

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 :: WiproSopra Steria

Post Your Answer Here:


Rate This: +0 -0     
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.