欢迎来到易学考试网 易学考试官网
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

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.

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题