Shared Tutorials

Tutorials Shared by the Internet Community
Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Basic Detail

Java Reflection Example - accessing private field

One of the most powerful feature of Reflection is able to access private members. Since private is highest form of encapsulation in Java and Reflecti
http://javarevisited.blogspot.com/2012/05/how-to-access-private-field-and-method.html

Description:

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.

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 32.76%  57
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.2%  16
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 9.77%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 9.77%  17
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 38.51%  67

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements