JavaCompilerCore/resources/bytecode/javFiles/While.jav
Daniel Holle 295bf079b9
Some checks failed
Build and Test with Maven / Build-and-test-with-Maven (push) Failing after 6m15s
Add continue and do-while, close #331
2024-05-21 12:14:12 +02:00

21 lines
276 B
Java

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;
}
}