What is private variable in Java with Example

2

One of the most powerful feature of Reflection is able to access private members. Since private is highest form of encapsulation in Java and Reflection is the only resort to access it outside the class on which they declared.

Read this post on javarevisited.blogspot.com


Javin Paul

blogs from Mumbai