Chapter 4 Object Oriented Paradigm - Coggle Diagram
Chapter 4 Object Oriented Paradigm
Purpose: separate interface from implementation. By hiding the implementation details that are likely to change -> allows for flexibility in design, easy teamwork working.
Inheritance allows software reuse, hence improving the effectiveness of software development.
Refer to ability of an object to behave differently and assume different forms based on its inheritance hierarchy.
Introducing the object-oriented paradigm
Relationship Among Classes
Differences between Composition and Aggregation
Inheritance vs. Composition
Case Study Example - OPS
Step 1: Design of Use Case Diagram
Step 2: Analysis Class Diagram
also called “Concepts Class Diagram”
Use Case is a way that a user accesses the system
Step 1: CRC Card Approach
Step 2: Construct Interaction Diagram
Step 3: Build State Chart
Step 4: Class Design
Nail down the interface of each class
Describe the life-cycle of an object
Process: reconstruct the flow of events using sequence diagram