Dynamic Binding Flashcards
1
Q
What is Binding?
Connecting a method call to the method ______ is known as binding.
There are two types of binding
Static Binding (also known as Early Binding).
Dynamic Binding (also known as Late Binding).
A
body
2
Q
Static Binding
Static binding happens at c________ time.
The static binding uses ‘Type’ information for binding.
Private, final and static members (methods and variables) use static binding
Overloaded methods use static binding
A
compile
3
Q
Dynamic Binding
Dynamic binding happens at r_________.
Dynamic binding uses ‘Objects’ to resolve to bind
Overridden methods use dynamic binding
A
runtime
4
Q
Static vs Dynamic Binding
Static binding is f________ than dynamic binding
A
faster