Clarification for private access modifier

whateverme's Avatar, Join Date: Dec 2010
Newbie Member
if let's say I have
<code>private int x</code>

what does x mean in the about context.

does it mean:
is write only
cannot be used outside the object
a class variable


thank you.
0
virxen's Avatar, Join Date: Nov 2009
Pro contributor
the correct answer is
Quote:
cannot be used outside the object