if 和 while 語句的區別。

1:代碼   寫道 public class Test { public static void main(String[] args) { int whileInteger = 3,ifInteger = 3; while(--whileInteger>=0){ System.out.println(String.format("while:第%s次打印", whileInteger)); }
相關文章
相關標籤/搜索