title: What happens when a variable is not "public" or "private"?
body: <p>I see that there are two ways to declare/define a variable in JAVA: public and private. My question is what happens if the variables is defined without being treated as "public" or "private", for example:</p>
  
  <pre><code>int num;
  </code></pre>
  
  <p>Is 'num' considered as private of as public?</p>