Can one object access a private variable of another objet of the same class?
This was on the rules game .
The ans is yes. The reason is private to the class and not to the object so two objects can access each others private data.
I am confused pls clarify it.
Mohit Agarwal.
Would Be
SCJP.
The will to win is worthless if you do not have the will to prepare.