4.Which of the following are primitive Java types?I.int II.Integer III.Double (a) II and III only(b) I and II only(c) I only(d) I,II and III only

问题描述:

4.Which of the following are primitive Java types?
I.int
II.Integer
III.Double
(a) II and III only
(b) I and II only
(c) I only
(d) I,II and III only

JAVA的8种原始(primitive)数据类型:byte、short、int、long、float、double、char
所以选C.
他们对应的封装(Wrapper)数据类型分别是:Byte,Short,Integer,Long,Float,Double,Character
不要搞混啦