import java.lang.Integer; import java.lang.Long; import java.lang.Double; public class While { public m(x) { while(x < 2) { x = x+1; } return x; } public m2() { int i = 0; do { ++i; } while(i < 10); return i; } }