Home > DeveloperSection > Interviews > Explain about encapsulation in Java ?

Posted on    July-09-2015 12:23 AM

 Java Java  OOPS 
Ratings:
 1 Answer(s)
  363  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    July-09-2015 12:23 AM

Encapsulation helps java to bind code and data it manipulates, restrict outside interference and misuse of data. It also hides irrelevant details of an object.

Don't want to miss updates? Please click the below button!

Follow MindStick