JavaCompilerCore/resources/bytecode/javFiles/While.jav

21 lines
276 B
Plaintext
Raw Normal View History

2018-03-14 14:51:38 +00:00
import java.lang.Integer;
import java.lang.Long;
import java.lang.Double;
2018-03-14 14:51:38 +00:00
public class While {
2024-03-14 13:37:55 +00:00
public m(x) {
2018-03-14 14:51:38 +00:00
while(x < 2) {
x = x+1;
}
return x;
}
2024-05-21 10:14:12 +00:00
public m2() {
int i = 0;
do {
++i;
} while(i < 10);
return i;
}
2018-03-14 14:51:38 +00:00
}