日期:2014-05-20  浏览次数:20655 次

一道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