-->
当前位置:首页 > 题库

单选题:Java语言中数值数据的类型能自动转换,按照从左到右的转换次序为( )。

Luz5年前 (2021-05-10)题库1846
Java语言中数值数据的类型能自动转换,按照从左到右的转换次序为( )。 @[B](2)

A. byte->int->short->long->float->double
B. byte->short->int->long->float->double
C. byte->short->int->float->long->double
D. short->byte->int->long->float->double




A.byte->int->short->long->float->double
B.byte->short->int->long->float->double
C.byte->short->int->float->long->double
D.short->byte->int->long->float->double


答案:B