Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

encapsulation java

Encapsulation is defined as the wrapping up of data under a single unit. It is the mechanism that binds together code and the data it manipulates. Another way to think about encapsulation is, it is a protective shield that prevents the data from being accessed by the code outside this shield. 
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #encapsulation #java
ADD COMMENT
Topic
Name
8+3 =