一個小面試題

public class Test {
    public Test() {
    }
   
    public static void main(String [] args){
     boolean first = true;
     int count = 0 ;
     for(int i=0;i<8;i++){
      if(!first&&count>3){
       System.out.println(count);
      }else{
       first = false;
      }
     }
     
    }
}
 
沒有運行結果 無輸出
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章