CodeArts IDE-提取接口:重构后

时间:2025-01-26 10:51:02

重构后

class ExtractImpl implements ExtractImplInterface {   public static void main(String[] args) {      new ExtractImpl().print();   }   @Override   public void print() {      System.out.println("Hello World!");   }}public interface ExtractImplInterface {   void print();}
support.huaweicloud.com/usermanual-codeartside/codeartside_01_0131.html