你可能喜欢
问答题
问答题
问答题
多项选择题
A. String s = "Gone with the wind";String t = " good ";String k = s + t;
B. String s = "Gone with the wind";String t; t = s[3] + "one";
C. String s = "Gone with the wind";String standard = s.toUpperCase();
D. String s = "home directory";String t = s - "directory";
单项选择题
A. condition 1 finally
B. condition 2 finally
C. condition 3 finally
D. finally
单项选择题
A. null
B. -1
C. 编译时出错
D. 运行时报错
单项选择题
阅读以下代码:
public class Test{
public static void main(){
System.out.println(“x=”+x); } }
请问,代码运行的结果是?()
A. x
B. x=x
C. “x=”+5
D. 编译报错