代码
提交代码
public class OperateorsPriority { public static void main(String[] args) { int a = 2; int b = 4; int c = 6; int result = a + b - c + a; System.out.println("result = " + result); } }
运行结果