问题 单项选择题

下列关于C++语言类的描述中错误的是

A.类用于描述事物的属性和对事物的操作

B.类与类之间通过封装而具有明确的独立性

C.类与类之间必须是平等的关系,而不能组成层次结构

D.类与类之间可以通过一些方法进行通信和联络

答案

参考答案:C

解析: C++语言中的类是可以组成层次结构的,类是用于描述事物的属性和对事物的操作,类与类之间有相对的独立性,但其可以通过一些方法进行信息的通信。

单项选择题

阅读下面短文,从短文后各题所给的四个选项(A、B、C和D)中,选出可以填入空白处的最佳选项,并在答题卡上将该项涂黑。学科&网

Hundreds of people have formed impressions of you through that little device(装置) on your desk. And they’ve never actually   41   you. Everything they know about you   42   through this device, sometimes from hundreds of miles away.   43   they feel they can know you   44   from the sound of your voice. That’s how powerful the   45   is.

Powerful, yes, but not always   46  . For years I dealt with my travel agent only by phone. Rani, my faceless agent whom I’d never met   47  , got me rock-bottom prices on airfares, cars, and hotels. But her cold voice really   48   me. I sometimes wished to   49   another agent.

One morning, I had to   50   an immediate flight home for a family emergency. I ran into Rani’s office   51  . The woman sitting at the desk,   52   my madness, sympathetically jumped up. She gave me a   53   smile, nodded while listening patiently, and then printed out the   54   immediately. “What a wonderful lady!” I thought.

Rushing out   55   I called out over my shoulder, “By the way, what’s your name?” “I’m Rani,” she said. I turned around and saw a   56   woman with a big smile on her face waving to wish me a safe trip. I was   57  ! Why had I thought she was cold? Rani was, well, so   58  .

Sitting back in the car on the way to the airport, I figured it all out. Rani’s   59  ---her warm smile, her nods, her ‘I’m here for you’   60  ---were all silent signals that didn’t travel through wires.

49()

A. promote

B. train

C. find

D. know

单项选择题