A.一个翻译人员对一些事情要什么都懂,对什么事情又要懂一些。
B.翻译人员对有些事情要无所不晓,对什么事情又要略知一二。
C.翻译人员对于知识既要精深,又要渊博。
D.译者要知之为知之,不知为不知。
第1题:
A.if(i>10)throwException(“something?swrong!”);
B.if(i>10)throwExceptione(“something?swrong!”);
C.if(i>10)thrownewException(“something?swrong!”);
D.if(i>10)thrownewExceptione(“something?swrong!”);
第2题:
_____stole my purse when I was on the train.
A. Anyone
B. Someone
C. Something
第3题:
Java程序中读入用户输入的一个值,要求创建一个自定义的异常,如果输入值大于10,使用throw语句显式地引发异常,异常输出信息为“something’swrong!”,语句为()。
A.if(I>10)throw Exception(“something’swrong!”);
B.if(I>10)throw Exceptione(“something’swrong!”);
C.if(I>10)thrownew Exception(“something’swrong!”);
D.if(I>10)thrownew Exceptione(“something’swrong!”);
第4题:
A.if(i>10)throwException(“something’swrong!”);
B.if(i>10)throwExceptione(“something’swrong!”);
C.if(i>10)thrownewException(“something’swrong!”);
D.if(i>10)thrownewExceptione("something’swrong!");
第5题:
此处,Something 类的文件名叫OtherThing.java
class Something {
private static void main(String[] something_to_do) {
System.out.println("Do something ...");
}
}
这个好像很明显。
正确。从来没有人说过Java 的Class 名字必须和其文件名相同。但public class 的名字
必须和文件名相同。
第6题:
24、以下论断正确的是()。
A.""是空串," "空格串
B."BEIJING"是"BEI JING"的子串
C."something"="Something"
D."BIT"="BITE"