问题 单项选择题

UML中关联的多重度是指 (50)

A.一个关联类有多少个方法被另一个类调用
B.一个关联类有多少个属性被另一个类调用
C.一个关联类的某个方法被另—个类调用的次数
D.一个关联的实例中有多少个相互连接的对象

答案

参考答案:D

解析: 关联表示了对象间的结构关系。关联的多重度是指一个类的实例能够与另一个类的多少个实例相关联。通常把它写成一个表示取值范围的表达式或写成一个具体值。指定关联一端的多重度,就是说明:在关联另一端的类的每个对象要求在本端的类必须有多少个对象。

单项选择题
单项选择题

When we think of leadership, we often think of strength and power. But what are these really, and how do they operate
Leadership today is not about forcing others to do things. If this is even possible, it is short term, and tends to backfire. If you order someone to do something against their will, they may do it because they feel they must, but the anger they feel will do more harm in the long term. They will also experience fear.
Fear causes the thinking brain to shut down, making the person unable to function at his or her best. If they associate you with this emotion of fear, they will become less functional around you, and you will have succeeded in not only shooting yourself in the foot, but possibly making a very good employee or partner unable to perform effectively. Fear has no place in leadership.
The way we influence people in a lasting way is by our own character, and our understanding and use of emotion. We can order someone to do something, which may be part of the workday; or we can employ them at the emotional level, so they become fully devoted to the projects and provide some of their own motivation. Today’s workplace is all about relationships as a human being as well as a worker. Everyone produces just a bit more for someone they like. Leaders understand the way things work. They know the paycheck is not the single most motivating factor in the work life of most people.
The true strength of leadership is an inner strength that comes from the confidence of emotional intelligence—knowing your own emotions, and how to handle them, and those of others. Developing your emotional intelligence is the single best thing you can do if you want to develop your relationships with people around you, which is the key to the leadership skills.

Which of the following is TRUE according to the passage

A.People tend to associate leadership with fear.

B.Working conditions affect people’s physical health.

C.Good relationship is the key to business success.

D.Smart people are more functional in the workplac