title: Variable naming conventions in Java
body: <p>In PHP, we (at least the good programmers) always start general variable names with a lower-case letter, but class variables/objects with an upper-case letter to distinguish them. In the same way we start general file names with a lower case letter, but files containing Classes with an upper case letter.</p>
  <p>E.g.:</p>
  <pre class="lang-php prettyprint-override"><code>&lt;?php
      $number = 123;
      $string = &quot;a string&quot;;
      $colors_array = array('red', 'blue', 'red');
      $Cat = New Cat();
  ?&gt;
  </code></pre>
  <p>Are the conventions the same in Java, i.e., objects starting with upper-case, but the rest with lower case, or does everything start with lower case as I've read in other places?</p>