Home » » What is Encapsulation? -Simple explanation.

What is Encapsulation? -Simple explanation.

Written By M.L on வியாழன், 25 ஆகஸ்ட், 2011 | ஆகஸ்ட் 25, 2011

It means tightly controlling access to the internal objects data and procedures.

Example :
Class MyRectangle
{
   public int width;
   public int height;
}

0 comments:

கருத்துரையிடுக

Popular Posts

General Category