Java Reflection Example - accessing private field
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial 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 Reflectihttp://javarevisited.blogspot.com/2012/05/how-to-access-private-field-and-method.html
Total Hits: 7961
Total Votes: 30 votes
Category: JAVA/Core JAVA
Submitted on: 2012-09-22 08:24:40
Submitted By: Javin Paul
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. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 20% |
6 |
![]() ![]() |
![]() ![]() 13.33% |
4 |
![]() ![]() ![]() |
![]() ![]() 13.33% |
4 |
![]() ![]() ![]() ![]() |
![]() ![]() 13.33% |
4 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 26.67% |
8 |





20%

13.33%

13.33%

13.33%

26.67%