当前位置: 代码迷 >> J2SE >> 一道java面试题,各位看看答案是什么?该如何解决
  详细解决方案

一道java面试题,各位看看答案是什么?该如何解决

热度:104   发布时间:2016-04-24 16:21:40.0
一道java面试题,各位看看答案是什么?
Which   of   the   following   statements   about   declaration   are   true?

A.   Declaration   of   primitive   types   such   as   boolean,   byte   and   so   on   does   not   allocate   memory   space   for   the   variable.

B.   Declaration   of   primitive   types   such   as   boolean,   byte   and   so   on   allocates   memory   space   for   the   variable.

C.   Declaration   of   nonprimitive   types   such   as   String,   Vector   and   so   on   does   not   allocate   memory   space   for   the   object.

D.   Declaration   of   nonprimitive   types   such   as   String,   Vector   ans   so   on   allocates   memory   space   for   the   object.


------解决方案--------------------
D.
------解决方案--------------------
应该是多选把
B D
------解决方案--------------------
d
------解决方案--------------------
B
------解决方案--------------------
b、c


------解决方案--------------------
kaka说的不错。
------解决方案--------------------
基础。。。。BC
------解决方案--------------------
bc
  相关解决方案