| Author |
Reflection API
|
Damodara Reddy
Ranch Hand
Joined: Feb 09, 2007
Posts: 44
|
|
What is a reflection API, how to use it...? I heard we can access private variables using reflection API, how?
|
Damu
|
 |
Rao Raghu
Ranch Hand
Joined: Jan 05, 2007
Posts: 100
|
|
Find it here
|
RAGHU<br /> <br />"When the going gets tough, the tough get going"
|
 |
Damodara Reddy
Ranch Hand
Joined: Feb 09, 2007
Posts: 44
|
|
|
thanks Raghu
|
 |
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
|
|
Yes , it partially true. You can set / reset private variables is the security manager is disabled in your JVM , otherwise you need to give your code special permissions to do this.
|
Rahul Bhattacharjee
LinkedIn - Blog
|
 |
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1318
|
|
see this.. Real Magic of Java Reflection hope you will find it more helpful..
|
Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
|
 |
 |
|
|
subject: Reflection API
|
|
|