Explain why encapsulation is required?

Explain why encapsulation is required?

Encapsulation bassically defined as :
> Encapsulation genral meaning is information hiding.
> The purpose of efficiency of memory and speed.
> The data and code binds together.
> It is an OOP principle of placing the data and functionality within a single entity.
> it is to protect data from the client using the classes but still allowing the client to access the data, but not modify it.

By:Umang
Date:2001-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher