def x = 5; do{ println("x is " + x); x++; } while (x <= 10);. Run the script with groovy hello.groovy command and the same output as with ...
確定! 回上一頁