Presentation is loading. Please wait.

Presentation is loading. Please wait.

 28object-oriented_programming%29 28object-oriented_programming%29.

Similar presentations


Presentation on theme: " 28object-oriented_programming%29 28object-oriented_programming%29."— Presentation transcript:

1

2

3

4  http://en.wikipedia.org/wiki/Encapsulation_% 28object-oriented_programming%29 http://en.wikipedia.org/wiki/Encapsulation_% 28object-oriented_programming%29

5 Encapsulation

6

7 1. Software is complex 2. Programmers have to make it look easy 3. Useful, real- world software has to: 1. Handle Change 2. Handle Complexity

8

9

10  http://www.ted.com/talks/eric_berlow_ho w_complexity_leads_to_simplicity.html http://www.ted.com/talks/eric_berlow_ho w_complexity_leads_to_simplicity.html

11  Unified Modeling Language (UML) is a standardized general-purpose modeling language in the field of software engineering. The standard is managed, and was created by, the Object Management Group.  UML includes a set of graphic notation techniques to create visual models of software- intensive systems.  http://en.wikipedia.org/wiki/Unified_Modeling_ Language http://en.wikipedia.org/wiki/Unified_Modeling_ Language

12 BankAccount name accountID balance getBalance( ) credit( double amount ) debit( double amount ) getName( ) A UML class diagram The methods = what it DOES The Class Name The attributes or state = what it KNOWS

13  The main purpose of a sequence diagram is to define event sequences that result in some desired outcome  A sequence diagram shows the interaction between objects over the progression of time

14

15

16

17

18  http://en.wikipedia.org/wiki/Sequence_diagra m http://en.wikipedia.org/wiki/Sequence_diagra m


Download ppt " 28object-oriented_programming%29 28object-oriented_programming%29."

Similar presentations


Ads by Google