title: Calling outer class function from inner class
body: <p>I have implemented a nested class in Java, and I need to call the outer class method from the inner class.</p>
  
  <pre><code>class Outer {
      void show() {
          System.out.println("outter show");
      }
  
      class Inner{
          void show() {
              System.out.println("inner show");
          }
      }
  }
  </code></pre>
  
  <p>How can I call the <code>Outer</code> method <code>show</code>? </p>