单选题 字面常量42、4.2、42L的数据类型分别是
A) long、double、int B) long、float、int C) int、double、long D) int、float、long

【正确答案】 D
【答案解析】[解析] 根据题干可知,分别为整型、浮点型和长整型。