java单题.docVIP

  • 24
  • 1
  • 约20.56万字
  • 约 38页
  • 2016-12-15 发布于河南
  • 举报
1.?How many bytes of storage are required for an integer of type long in Java?????? (b) ?(a) Four ?(b) Eight ?(c) Two ?(d) Three? 注:java中有8种基本类型:byte:8位无符号整数 short: 16位有符号整数 int:32位有符号整数 long:64(8字节)位有符号整数 float:32位单精度浮点数 double:64位单精度浮点数 char:单个字符,使用16位Unicode编码 boolean 2. ?The two Boolean literals available in Java are _____ and _____.????????? (d) ?(a) T, F ?(b) 0, 1 ?(c) TRUE, FALSE ?(d) true, false? 3. ?Consider the following line of Java code.??????? (c) ? int x = 1+7*2; ? What will be the value of x at the end of execution of the line of code? ?(a) 21 ?(b) 16 ?(c

文档评论(0)

1亿VIP精品文档

相关文档