问题 单项选择题

已知3个类O、P和Q,类O中定义了一个私有方法F1、一个公有方法 F2和一个受保护的方法F3:类P和类Q为类O的派生类,其继承方式如下所不:
class P:protected O...
class Q;public O…
在关于方法F1的描述中正确的是 (54) 。在关千方法F2的描述中正确的是 (55) 。在关于方法F3的描述中正确的是 (56)

A.类O、P和Q的对象都可以访问方法F2
B.类P和Q的对象都可以访问方法F2
C.类O和Q的对象都可以访问方法F2
D.只有在类P内才能访问方法F2

答案

参考答案:C

阅读理解

阅读理解。

Dear Abby,

     I am a very conservative woman. I don't drink, dance, wear makeups or pants. I enjoy the company of

friends despite (尽管) our differences and thought they enjoyed mine.

     On our most recent outing, however, they laughed at my religious jewelry, commented on my "lack of

fashion," and made me feel guilty for not wanting to stay out late.

     Despite this, they are great friends and would help me at the drop of a hat. I don't bring up their being

overweight, or that I think some of the clothes they wear are ugly. I don't criticize them for sleeping around.

I wish they would accept me for who I am.

     I am considering not going out with them the next time they ask, but I don't really want it to come to that.

Any suggestions? 

                                                                                                                       Just an Old-Fashioned Girl

________________________________________________________________________________________

Dear Old-Fashioned Girl,

     Just this: It's time for you to start cultivating relationships with people whose values are more like your

own. The friends you have described may be lovely, but their comments were out of line and folks are known

by the company they keep. If you spend a lot of time with the women you have described, people will begin

to make assumptions (臆断) about you.

                                                                                                                                                     Abby

1. The underlined word "conservative" is closest in meaning to ______.

A. beautiful

B. old-fashioned

C. overweight

D. ordinary-looking

2. When did Old-fashioned Girl feel guilty?

A. When her friends stayed out late. 

B. When she stayed out late with her friends.

C. When she refused her friends' request to stay out late.

D. When her friends refused her to stay out late with them.

3. Which of the following could Old-fashioned Girl most possibly agree to?

A. It is easier to forgive an enemy than to forgive a friend.

B. Only your real friends will tell you when your face is dirty.

C. The friend is the one who knows all about you, and still likes you.

D. True friendship comes when silence between two people is comfortable.

4. According to Abby, it's a good idea for Old-fashioned Girl to ______.

A. talk with her friends

B. understand her friends

C. forgive her friends

D. break up with her friends

单项选择题