- 65
- 0
- 约2.4千字
- 约 4页
- 2020-03-10 发布于贵州
- 举报
编程语言方面。(满分100分)
选择题
public class test{
String s = new String (“Hello”);
Notify(s);
System.out.println(s);
}
Public static void notify(String s){
S += “world”;
}
What is the return ?(5分)
A . The program runs and prints “Hello”
B . As error causes compilation to fail.
C . The program tuns and prints “Hello world!”
D . The program runs but aborts with 按exception
2 .
Public class test{
public static String output = ;
public static void foo (int i){
try{
if(i==1){
throw new Exception e;
}
}
}
}
A . 14323
B . 24313
C . 13423
D .13243
3 .
If (x0) { System.out.println(“firs
您可能关注的文档
最近下载
- 医院环境的清洁与消毒PPT课件.pptx VIP
- 曾经邂逅的心上人,如今消失在人海。真爱究竟在何方.PDF VIP
- (高清版)B-T 3836.34-2021 爆炸性环境 第34部分:成套设备.pdf VIP
- 古代文学笔试题目汇总表.docx VIP
- NSA2860 通用传感器调节器 SSOP16 TSSOP20 深圳恒锐丰科技.pdf VIP
- 江南嘉捷电梯 e-hold PRO电气原理图.pdf
- 架空输电线路架线施工完整计算书.docx VIP
- 2026年河北省招聘社区工作者题库学生专用.docx VIP
- 2026年河北省招聘社区工作者题库及参考答案一套.docx VIP
- 山西医科大学《医学统计学》期末考试试卷(含答案).docx
原创力文档

文档评论(0)