ankur-anand/blog

Private members are not private to instance in Java | Ankur Anand Blog

Closed this issue · 0 comments

http://blog.ankuranand.com/2016/04/23/private-access-in-java/

IntroductionWe all know to access the private member variable of a class we need an public helper function in Java.
The UnforeseenBut seems One Object can access a private variable of another object o