Home / Object Oriented Programming / Difference between early binding and late binding

Difference between early binding and late binding

Difference between early binding and late binding

Early Binding Late Binding
Early binding happens at compile time. Late binding happens at run time.
Function definition and function calls are linked at compile time. Function definition and function call are linked at run time.
Early binding can be achieved by using normal function. It can be achieved by using virtual function.
It’s faster execution. It’s slower execution.