可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

1. public class Test&e


1. public class Test {   2. public static void main (String args) {   3. unsigned byte b = 0;   4. b--;   5.   6. }   7. }   What is the value of b at line 5?()  

  • A -1
  • B 255
  • C 127
  • D Compilation will fail.
  • E Compilation will succeed but the program will throw an exception at line 4.
参考答案
参考解析:
分类:SCJP程序员认证考试题库