标签:
publicclassTestFor{
publicstaticvoid main(String args[]){
for(int i =0; i < 10; i++){
System.out.println(i);
}
}
}
publicclassTestWhile{
publicstaticvoid main(String args[]){
int i =0;
while(i <10){
System.out.println(i);
i++;
}
}
}
标签:
原文地址:http://www.cnblogs.com/arroneve/p/5815417.html