1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Clarification for private access modifier

Discussion in 'Java' started by whateverme, Jan 25, 2011.

  1. whateverme

    whateverme New Member

    Joined:
    Dec 10, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. virxen

    virxen New Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    0
    the correct answer is
     

Share This Page