360内推笔试-java
byte b1 = 1, b2 = 2, b3, b6; final byte b4 = 4, b5 = 5; b6 = b4 +b5; b3 = b1 + b2; System.out.println(b6+b3);
答案是 b3 = b1 + b2;编译错误。
求解释
byte b1 = 1, b2 = 2, b3, b6; final byte b4 = 4, b5 = 5; b6 = b4 +b5; b3 = b1 + b2; System.out.println(b6+b3);
相关推荐