This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.