单项选择题
下列哪个程序段可能导致错误
A.String s="hello";
String t= "good";
String k=s+ t;
B.String s="hello";
String t;
t=s[3]+"one";
C.String s="hello";
String standard=s. toUpperCase
D.String s="hello";
String t =s+ "good"
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下列哪个类是由编译器自动生成对象的特殊类,并用于类操作
A.System类
B.Class类
C.Thread类
D.Object类
点击查看答案&解析
单项选择题
下列哪个选项不是InputStream类中的方法
A.public abstract int read()throws IOException
B.public final void writeInt (int v)throws IOException
C.public void close()throws IOException
D.public int available() throws IOException
点击查看答案&解析
相关试题
顺序执行下列两个语句的输出结果是 【13...
对话框(Dialog)是 【15】 类的子类。
在线程中普通优先级的线程,其优先级默认值...
阻塞状态根据产生的原因可分为 【11】 ...
过滤字节输出流都是 【14】 抽象类的子类。