title: How to let Subclass cover the inner class of the Class?
body: <pre><code>package tt;
  
  class Out {
      class Inner {
          void print() {
              System.out.println("i anm inner1");
          }
      }
  
      public void run() {
          Inner in = new Inner();
          in.print();
      }
  
  }
  
  class Out2 extends Out{
      class Inner{
          void print() {
              System.out.println("i anm inner2");
          }
      }
  }
  
  public class Test {
      /**
       * @param args
       */
      public static void main(String[] args) {
          new Out2().run(); // 打印 i anm inner2
      }
  }
  </code></pre>
  
  <p>This program prints out ("i anm inner1") now.
  How can I make the program print("i anm inner2")?</p>