Edit This Code:
Result are:
$javac Test.java
$java -Xmx128M -Xms16M Test
value of x : 10 value of x : 11 value of x : 12 value of x : 13 value of x : 14 value of x : 15 value of x : 16 value of x : 17
Try it Yourself - © welookups