System.out.print("正在加载");
for (int i = 0; i < 80; i++) {
System.out.print(".");
try {
Thread.sleep(50);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
System.out.println();
System.out.println("加载完成:100%");
微信扫一扫
System.out.print("正在加载");
for (int i = 0; i < 80; i++) {
System.out.print(".");
try {
Thread.sleep(50);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
System.out.println();
System.out.println("加载完成:100%");
相关推荐