多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>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.
正确答案:A,D
答案解析:
进入题库查看解析

微信扫一扫手机做题