1 / 9

Developing an OO Solution WMC GreenLake May 5, 2006

Developing an OO Solution WMC GreenLake May 5, 2006. Joe Kmoch Milwaukee Public Schools jkmoch.com/apcs joe@jkmoch.com. Agenda. Identify Objects (Classes) Identify Operations (Responsibilities) Identify Relationships (Collaborations) Develop Scenarios Implement OO Design.

Download Presentation

Developing an OO Solution WMC GreenLake May 5, 2006

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing an OO SolutionWMC GreenLakeMay 5, 2006 Joe Kmoch Milwaukee Public Schools jkmoch.com/apcs joe@jkmoch.com

  2. Agenda • Identify Objects (Classes) • Identify Operations (Responsibilities) • Identify Relationships (Collaborations) • Develop Scenarios • Implement OO Design

  3. Your First Task • Put a rectangle around each noun • Encircle each action verb

  4. Objects (Candidates) • nouns

  5. Operations (Responsibilities) • Verbs • ID what can be done to objects or • ID what objects can do for themselves • ID who is responsible for doing what

  6. Relationships (Collaborations) • What objects need to know about what other objects do

  7. Develop Scenarios • How objects interact • Right objects? Operations? Relationships? • Common and uncommon scenarios • Possibly recognize new design requirements

  8. Implementing OO Design • Design public interfaces • Design internal data representation • Implement public member functions • Test individual objects and member functions

More Related