forked from JavaTX/JavaCompilerCore
28 lines
272 B
Java
28 lines
272 B
Java
import java.lang.Integer;
|
|
|
|
public class PreInc {
|
|
public m() {
|
|
var i = 0;
|
|
++i;
|
|
return i;
|
|
}
|
|
|
|
public m2() {
|
|
var i = 0;
|
|
var j = ++i;
|
|
return j;
|
|
}
|
|
|
|
public d() {
|
|
var i = 0;
|
|
--i;
|
|
return i;
|
|
}
|
|
|
|
public d2() {
|
|
var i = 0;
|
|
var j = --i;
|
|
return j;
|
|
}
|
|
|
|
} |