Clarification for private access modifier

Newbie Member
26Jan2011,00:12   #1
whateverme's Avatar
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.
Pro contributor
26Jan2011,04:33   #2
virxen's Avatar
the correct answer is
Quote:
cannot be used outside the object