This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
The code attached below works fine and prints true which is fine but I could not understand why there was no compilation error on the equals function while it was trying to access the private member of another object. Could you please help me understanding this,