Professional Documents
Culture Documents
6. In ........multiple........... inheritance, one class is inherited from more than one class.
a) Choose your models well b) Every model may not be expressed at different at
different levels of decision c) The best models are connected to reality. d) No single
model is sufficient.
2. Which one of the following view express the requirements of the system?[a]
3. W build models so that we can better _______ the system we are developing[b]
Brief Question’s
1. What is a class? Make distinction between attributes and operations.
① A class is a description of a set of objects that share the same properties and
behavior.
① First one is, within the top section of the class box have object name and class name
separated by colon, with underlined text.
② Second difference is class notation don’t need values for attributes, but object
notation you need to write values.
① Object:Professor Smith
② Class:Professor
Multiple inheritance means that a subclass can have more than one parent。
The specification of how many instances a class can have is known as multiplicity.
Example:A teacher teaches many students, teacher class only has an instance
The difference is that the object diagram inherits all the properties and methods of the
class diagram and assigns values to certain properties and methods in the class diagram