Struct DoWhileDemo02

发布时间 2023-10-19 21:30:21作者: 宁宁宁宁宁宁宁宁

package com.chen.struct;

public class DoWhileDemo02 {
public static void main(String[] args) {
int a = 0 ;
while (a<0){
System.out.println(a);
a++;
}
System.out.println("==============");
do {
System.out.println(a);
a++;
}while (a<0);
}
}