编辑器
public class Main { public static void main(String[] args) { int result1 = 10 - 2 + 5; // (10 - 2) + 5 = 13 int result2 = 10 - (2 + 5); // 10 - 7 = 3 System.out.println(result1); System.out.println(result2); } }
13
3