25.String s="This is the ";String t=s.concat("String."); t的内容是( ) A. This is the String B. This is the C. String 正确答案:A满分:2分 26.关于以下程序段的说法正确的是( )。 1. public class Myar{ 2. public static void main(String argv[]){ 3. int[]i=new int[5]; 4. System.out.println(i[5]); 5. } 6. } A. 第2行编译出错 B. 第4行编译出错 C. 编译时产生错误 D. 编译时没有产生错误,运行时发生异常 正确答案:D满分:2分 27. 下列声明和赋值语句错误的是() A. double w=3.1415; B. String strl=”bye”; C. float z=6.74567 D. boolean truth=true; 正确答案:C满分:2分 28.下列不是 InputStream 子类的是( ) A. 文件输入流 FileInputStream B. 对象输入流 ObjectInputStream C. 字符输入流 CharInputStream D. 压缩文件输入流 ZipInputStream 正确答案:C满分:2分 (责任编辑:admin)要这答案加QQ:800020900 或加微信:q800020900 获取 |