📜  Do..While 循环的示例 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:37.010000             🧑  作者: Mango

代码示例1
public class Test {

   public static void main(String args[]) {
      int x = 10;

      do {
         System.out.print("value of x : " + x );
         x++;
         System.out.print("\n");
      }while( x < 20 );
   }
}