venkat ga wrote:
Can anybody please explain below program. private means only with in the scope. but outside we can't access.
See these lines....
It means turn off access checks. For Applets, or anything else with a security manager, this call will generate a security exception. For everything else, it will allow a program to access all fields (regardless of access permission) of an object.