最终效果 实现 如果不使用for循环,我们可以这样实现 System.out.println("*"); System.out.println("**"); System.out.println("***"); System.out.println(