forked from JavaTX/JavaCompilerCore
27 lines
274 B
Java
27 lines
274 B
Java
import java.lang.Integer;
|
|
|
|
public class PostIncDec {
|
|
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;
|
|
}
|
|
} |