首页 > 技术文章 > *****用循环运用

zyn0216 2017-08-31 07:21 原文

*****

*****

*****

*****

*****

public class www{

	public static void main(String[] args) {
		for(int i=1;i<=5;i++){
			for(int x=1;x<=5;x++){
				System.out.print("*");
			}
				System.out.println();
		}

 输出:

推荐阅读