题目内容

在压强不太大(与大气压相比)、温度不太低(与室温相比)的条件下,各种气体都遵守玻意耳定律、盖吕萨克定律和查理定律。

A. 对
B. 错

查看答案
更多问题

To declare an int variable x with initial value 200, you write

A. int x = 200.0;
B. int x = 200l;
C. int x = 200L;
D. int x = 200;

Which of the following is incorrect?

A. double x = 1.0;
B. float x = 1.0;
C. long x = 9;
D. int x = 9;

Which of the following assignment statements is illegal?

A. int t = 23;
B. short s = 10;
C. float f = -34;
D. float f = 34.0;

Analyzethefollowingcode.publicclassTest{publicstaticvoidmain(String[]args){intmonth=09;System.out.println("monthis"+month);}}

A. Theprogramdisplaysmonthis9.
B. Theprogramdisplaysmonthis09.
C. Theprogramhasasyntaxerror,because09isanincorrectliteralvalue.
D. Theprogramdisplaysmonthis9.0.

答案查题题库