在Java中,以下哪个数据类型的取值范围是从-2^31到2^31-1? A. byte B. short C. int D. long 答案解析 在Java中,int数据类型占用4个字节,其取值范围是从-2^31到2^31-1。 正确答案:C