Many people wonder if a private field can be accessed from other completely strange class. The words that first come out from the mouth many, if asked whether access to such private members is possible, is: 'impossible!' or say the least: 'you can't do that!'. We are not talking about using accessors here, the usual getter/setter methods are completely excluded.
The truth about that is, gaining access to private members from an alien class is not only possible, but real.
May 18, 2012
May 15, 2012
How To Shutdown PC With Java Code
Subscribe to:
Posts (Atom)