JAVA认证147道SCJP考试试题精解.docVIP

  • 7
  • 0
  • 约3.36万字
  • 约 26页
  • 2019-07-15 发布于江西
  • 举报
Leading the way in IT testing and certification tools,   Question No: 1   Given:   1. public class test (   2. public static void main (String args[]) {   3. int i = 0xFFFFFFF1;   4. int j = ~i;   5.   6. }   7. )   What is the decimal value of j at line 5?   A. 0   B. 1   C. 14   D. –15   E. An error at line 3 causes compilation to fail.   F. An error at line 4 causes compilation to fail.   Answer: C   Question No: 2   Given:   Integer i = new Integer (42);   Long 1 = new Long (42);   Double d = new Double (42.0);   Which two expressions evaluate to True? (Choose Two)   A. (i ==1)   B. (i ==

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档