What is Encapsulation ?? and how can achieve security using Encapsulation Mechanism ...!!
In simple word Encapsulation is a process that we can achieve data hiding ...
using getter and setter method ...
if you want to secure your data we have to use Encapsulation mechanism to get security of your data
some time you does not want to get permssion to your users for changing some thing in that case we have used Encapsulation mechanism..
if you want to know more about how can we achieve data Hiding using Encapsulation with the
help of getter and setter methods ...
then click on the link below and you will get this ..
nice Expalnation very Informative ...
ReplyDelete