title: Static classes and final classes in java
body: <p>In Java (and in Android), what's the use of <code>static class</code> and <code>final class</code> declarations?</p>
  
  <p>My question is not about static instances but class declarations like,</p>
  
  <pre><code>static class StaticClass {
      //variables and methods
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>final class FinalClass {
      //variables and methods
  }
  </code></pre>
  
  <p>Thanks,</p>