What is Static Binding and Dynamic Binding?

What is Static Binding and Dynamic Binding?

STATIC BINDING: The binding which occurs during the compile time is called static binding. Here in this case all information needed to call the function must be known at compile time. It is also known as early binding. It is fast and efficient.

DYNAMIC BINDING: Events occur at run time. It is also known as late binding. All information needed to call a function comes to know at runtime. It is slow and flexible.