what is encapsulation?
rahul jaiswal
Encapsulation is a method of bind method,variables of class together like a single unit..
Binding data together is known as encaptulation.
binding the member functions and data members as a single unit...
wrapping of data member and functions in a single unit is called Encapsulation. Ex. Class consist data member & function ,object is an Encapsulated unit.
encapsulation is the process of binding the data members and functions into a single unit called single unit
binding data in single unit like class
Encapsulation means combining data and realted function that use that data together and providing it as a logical entity.