第24题: [单项选择]给出下列的不完整的方法,则下列的哪个声明可以被加入行①完成此方法的声明
①
② { success = connect( );
③ if (success = = - 1 ) {
④ throw new TimedoutException( )
⑤ }
⑥ }
A. & B. # C. * D. $ 参考答案:A 答案解析:本题考查点为类成员的访问权限,public关键字修饰的类成员可 以被类的对象通过成员操作符“.”直接访问,protected和private则不能,而static不能单 独修饰类的成员。
第26题: [单项选择]{{B}}Questions 11 to 18 are based on the conversation you have just heard.{{/B}} A. Save time by using a computer. B. Buy her own computer. C. Borrow Mary’s computer. D. Stay home and complete her paper. 参考答案:B 答案解析:[听力原文]
W: I’m going to Mary’s house. I have a paper to complete, and I need to use her computer.
M