CODEARTS IDE-引入参数:重构前

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

重构前

class ExtractParameter {

    public static void main(String[] args) {
        sayHello();
    }

    private static void sayHello() {
        System.out.println("Hello" + " " + "World!");
    }
}
support.huaweicloud.com/usermanual-codeartside/codeartside_01_0127.html