听力原文:M: Well, Sally? Why do you look unhappy?
W: Oh, Hill, I have just had a quarrel with Mr. Smith.
M: Mr. Smith! What on earth was it about?
W: Well, I have made three bad mistakes so far this week. Today I forgot to give him an important message, so he got very angry with me.
M: But I don' t understand. You are usually very careful and never make mistakes.
W: I' m just so tired. I don' t know what I' m doing.
M: Why? Have you been going to bed late these days?
W: No, I' m usually in bed at about eleven. But I' ve been woken up at about half
past four every morning. And then I cannot go back to sleep again.
M: Why?
W: It' s my new neighbor, the milkman next door. He gets up at half past four and he always turns the radio on loudly.
M: Ask him to turn it down then.
W: It' s difficult. I don' t know him yet.
M: If you don' t want to see him, write him a letter.
W: Do you think it' s a good idea?
M:Yes,I do. I' ll help you write the letter.
W:OK. Let' s try.
Stella was unhappy because she
A.could not sleep at night
B.could not talk to the milkman
C.had quarrelled with Mr. Smith
第1题
A、A.private
B、B.default
C、C.protected
D、D.public
第3题
A.被private修饰的成员只能被该类的其他成员访问
B.被default修饰的成员只能被本包中的其他类访问
C.被protected修饰的成员既能被同一包下的其他类访问,也能被不同包下该类的子类访问
D.被private修饰的成员能被所有的类访问
第6题
A.既能被该类的成员函数访问,又能被外界直接访问
B.只能被该类的成员函数访问,外界不能直接访问
C.不能被该类的成员函数访问,只能被外界直接访问
D.既不能被该类的成员函数访问,也不能被外界直接访问
第7题
A.既能被该类的成员函数访问,又能被外界直接访问
B.只能被该类的成员函数访问,外界不能直接访问
C.不能被该类的成员函数访问,只能被外界直接访问
D.既不能被该类的成员函数访问,也不能被外界直接访问
第8题
B.protected 修饰的类,类中的所有方法只能给子类使用
C.如果一个类的成员被 protected 修饰,那么这个成员既能被同一包下的其它类访问,也能被不同包下该类的子类访问
D.以上都不对
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!