CODEARTS IDE-向上/向下移动成员:重构后

时间:2024-04-16 15:05:25

重构后

class PullUp {

   public static void main(String[] args) {
      new InnerClass().print();
   }

   private static class InnerClass extends AbstractClass {
   }

   private static abstract class AbstractClass {
      public String myField;

      public void print() {
         System.out.println("Hello World");
      }
   }
}
support.huaweicloud.com/usermanual-codeartside/codeartside_01_0123.html