CODEARTS IDE-引入功能参数:重构前

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

重构前

class IntroduceFunctionalParameter {
    public static void main(String[] args) {
        System.out.println(generateText());
    }

    private static String generateText() {
        return "Hello World!".toUpperCase();
    }
}
support.huaweicloud.com/usermanual-codeartside/codeartside_01_0134.html