Object Oriented Design 8

Convert Sequence Diagram into CodeI showed you how to turn your program idea into a Use Case. Then we turned the Use Case into a Domain Model. Then I showed you how to turn the Use Case into a Sequence Diagram. Then we made the Sequence Diagram into a Class Diagram. Now I’m going to show you how to convert the Sequence Diagram into working code.

I make part of the code in this video. The rest will be made in part 9 of my Object Oriented Design Tutorial. All of the code follows the video to help you learn. To get the other diagrams, just click the associated links above.

If you like videos like this, tell Google [googleplusone]

Sharing is always welcome [nttfblike]

Code From the Video

TestATM.JAVA

Account.java

Card.java

Customer.java

Transaction.java

7 thoughts on “Object Oriented Design 8”

  1. Great tutorials! I’m porting this to C# for practice and noticed you don’t have BankComputer, BankNetwork, or ATM classes defined in the example code here.

    1. My bad, obviously these are with the next video where they are covered. Forgot these were split across two instances. Thank you!

  2. Hi Derek,

    what if we have case where two or more classes have reference point to same class? For example, BankComputer and Customer might have reference to Account class, or any other class. Do we need to avoid this, beacuse from BankComputer or Customer we can access to Account?

Leave a Reply

Your email address will not be published. Required fields are marked *