Page 41 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 41

Unit 3: Class Modelling




                                                                                                Notes
             An Object-oriented Approach
             The goal of OO analysis is to identify objects and classes that support the problem domain
             and system’s requirements.
             Some general candidate classes are:

                 Persons
                 Places
                 Things
                 Class Hierarchy

                 Identify class hierarchy
                 Identify commonality among the classes
                 Draw the general-specific class hierarchy.
                                      Figure 1: Class Hierarchy




























             OO Approach

             FOR EVERY EMPLOYEE DO
             BEGIN
             employee computePayroll

             END
             Question
             What objects does the application need? Discuss.
          Source:  http://www.einsteincollege.ac.in/Assets/Department/Lecturer%20notes/CSE/UG/CS%2
          01042%20OBJECT%20ORIENTED%20ANALYSIS%20AND%20DESIGN.pdf








                                           LOVELY PROFESSIONAL UNIVERSITY                                   35
   36   37   38   39   40   41   42   43   44   45   46