全部题库 / Java / 试题详情
单选题 Java
2016-02-26

下列数中为八进制的是(  )。

A.27
B.0x25
C.026
D.028

参考答案

C

答案解析

采用0,1,2,3,4,5,6,7八个数码,逢八进位,并且开头一定要以数字0开头的为八进制。


你可能感兴趣的试题

A.a=true b =false
b =true c =true
B.a=true b =false
b =true c =false
C.a=true b =true
b =true c =false
D.a=false b =false
b =true c =false