java-operators3

Run Settings
LanguageJava
Language Version
Run Command
public class SelfAddMinus{ public static void main(String[] args){ int a = 5;//定义一个变量; int b = 5; int x = 2*++a; int y = 2*b++; System.out.println("自增运算符前缀运算后a="+a+",x="+x); System.out.println("自增运算符后缀运算后b="+b+",y="+y); } }
Editor Settings
Theme
Key bindings
Full width
Lines