title: Why can't we have static outer classes
body: <p>Why can't we create static classes which are outer. I read answers to the question in this community but I haven't gotten a perfect answer. Can some help me with an exact answer </p>
  
  <pre><code>   static class A
      {  
          void display()
          {
              System.out.println("This is a static class");  
          }
  
      }
  </code></pre>