Consider the following code: long y = 9223372036854775807L; y = y + 1; System.out.println(y); What number does the program print when compiled and run? Hint: think about the max value you just looked up in your previous answer.单项选择题
A
-9223372036854775808
B
-1
C
0
D
This program crashes and raises a longOverflow exception.
E
9223372036854775808
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!