In general, the British people belong to one of the more affluent countries of Europe and enjoy a high standard of living compared to the rest of the world.
【单选题】4 阅读下面的程序, 分析代码是否能够编译通过,选择相应选项 public class Test01 { public static void main(String[] args) { byte b = 3; b = b + 4; System.out.println("b=" + b); } }
A.
编译不通过。 int 值 4 和 b 相加时,由于变量 b 的类型为 byte ,取值范围没有 int 类型大,存不下 int 类型的值。