5. If you attempt to add an int, a byte, a long, and a double, the result will be a __________ value. A. long B. byte C. double D. int

题目

5. If you attempt to add an int, a byte, a long, and a double, the result will be a __________ value. A. long     B. byte       C. double      D. int


相似考题
参考答案和解析

该答案选D:

如果你尝试增加一个“整数型”、“long”、“double long”,结果将会是一个“int”型的结果。这是计算机程序默认规则。