Encapsulation is the concept to binding of data and functions.The data members are allowed to access by appropriate class functions or methods.Data members can't access from outside class.
binding the data and functions is called"databinding".
Binding is the process of connecting the function call to the function body. I.E. When we call the function, the parameters and the function name are passed to a internal function of the system. The system then locates the memory chunk where the function is defined(i.e. provides the address).
There are 2 types of binding: 1. Early binding: When the binding happens during the compilation.(Before the run time). Example: Normal functions
2. Late Binding: Also known as dynamic binding, Run Time binding etc. Here the binding happens during the runtime. Example: Virtual functions.