- <p class="MsoNormal" style="margin-left:21.0pt;text-indent:-21.0pt;mso-list:l0 level1 lfo1;
- tab-stops:list 21.0pt"><b><span lang="EN-US" style="font-family: 宋体;">1.<span style="font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';"> </span></span></b><span style="font-family: 宋体;">下列哪个声明是错误的?(BC) <span lang="EN-US"><o:p></o:p></span></span></p>
- <p class="MsoNormal"><span lang="EN-US" style="font-family: 宋体;">A. int
- i=10;<o:p></o:p></span></p>
- <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;
- font-family:宋体;mso-bidi-font-family:" arial="" black";color:red"="">B. float
- f=1.1;<o:p></o:p></span></p>
- <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;
- font-family:宋体;mso-bidi-font-family:" arial="" black";color:red"="">C. int other = (int) true; </span></p>
- <p class="MsoNormal"><span lang="EN-US" style="font-family: 宋体;">D. byte
- b=127;</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family: 宋体;">
- </span></p><p class="MsoNormal"><font face="宋体">这个B为什么声明也是错的,这样声明不可以吗?为什么D选项就可以,而B就不行?</font></p>
复制代码
|
|