Page 39 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 39
Unit 3: Class Modelling
13. During inheritance, a subclass may override a ................... feature by defining that feature Notes
with the same name.
3.4 Sample Class Model
In object oriented modeling, we understand the system and on the basis of that classes are
identified. Establishing relationship among different classes in the system is the first and foremost
activity. Here, we have a simple model of a University System with respect to different levels of
courses offered by the University. As you can see in Figure 3.11, we have given the basic classes
of this system.
3.4.1 Navigation of Class Model
This diagram covers different levels of students in the hierarchy. Similarly, for other classes,
such as Administration and Faculty, hierarchy level can be drawn to give a broader view of
whole system.
Figure 3.11: Object Model for University System
University
Administration Faculty Registration and
Evaluation
Student
PG Student Diploma Student UG Student
MCA MBA M. Sc MA
PG Diploma UG Diploma
BCA B. Sc BA B. Com
Self Assessment
Fill in the blanks:
14. In ...................., we understand the system and on the basis of that classes are identified.
15. Establishing .................... among different classes in the system are the first and foremost
activity.
LOVELY PROFESSIONAL UNIVERSITY 33