(2-5)Java程序中定义的变量三要素是()、()和()。
查看答案
(2-5)Java语言中,char型变量不能存贮一个汉字,也不能存储一个希腊字母。
A. 对
B. 错
(2-5)表达式(0.05+0.01)==0.06)的返回结果是true
A. 对
B. 错
(2-5)语句“floatf=3.4;”正确吗?请解释原因。
(2-5)写出下面程序运行结果。publicclassDemo{publicstaticvoidmain(Stringargs[]){System.out.println(123);System.out.println(0123);System.out.println(0x123);}}