Java 若要讓一段程式反覆地執行,可使用while迴圈。 while迴圈語法: while ( /* 條件判斷式*/ ) { // 迴圈執行區塊}. while迴圈使用關鍵字 while ...
確定! 回上一頁