title: How do Java public/private and static modifiers affect multiple variables declared on one line?
body: <p>Are the following equivalent?</p>
  
  <pre><code>private static boolean readAllFiles = false,readAllDirs = false;
  
  private static boolean readAllFiles = false;
  private static boolean readAllDirs = false;
  </code></pre>
  
  <p>And if so, do they still have the same modifiers with different values?</p>
  
  <pre><code>private static boolean readAllFiles = false,readAllDirs = true;
  </code></pre>