while (true) {
while
(
true
) {
Thread.sleep(
1000
);
//等待1S
System.out.println(
"----------"
}
while (a<5) {
(a<5
"-----"