Which of the following assignment is not correct
A: double f = 11.1;
B: double d = 5.3E12;
C: double d = 3.14159;
D: float d = 3.14.
A: double f = 11.1;
B: double d = 5.3E12;
C: double d = 3.14159;
D: float d = 3.14.
举一反三
- Which of the following assignment is not correct?() A: float f = 11.1; B: double d = 5.3E12; C: double d = 3.14159; D: double d = 3.14;.
- 3、下面的赋值语句( )不对的。 A: float f = 11.1; B: double d = 5.3E12; C: double d = 3.14159; D: double d = 3.14D;
- 下面的赋值语句中错误的是( ) A: float f=11.1; B: double d=3.3e2; C: double d=3.23; D: double d=3.21d;
- 下列语句中,正确的是( ) 。 A: float f=(float)3.14; B: double d=(double) 'A'; C: oolean b=(boolean)0; D: char c=(char)97.27f;
- 以下定义符号常量的语句正确的有____和____。 A: const double PI = 3.14159; B: double const PI = 3.14159; C: double PI = 3.14159; D: double pi;pi=3.14159;