Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

what is encapsulation in java

1-ENCAPSULATION: We can hide direct access to data by using
private key and we can access private data by using getter and
setter method.
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #encapsulation #java
ADD COMMENT
Topic
Name
7+1 =