1 / 9

UML Diagrams

UML Diagrams. Notebooks OUT! No, you will not be taking notes… but you will need your notebook!. UML Diagrams. When designing a class it helps to draw a UML diagram. UML – Unified Modeling Language This is the standard that professionals use. Class Name goes here. Fields are listed here.

Download Presentation

UML Diagrams

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. UML Diagrams

  2. Notebooks OUT! • No, you will not be taking notes… but you will need your notebook!

  3. UML Diagrams • When designing a class it helps to draw a UML diagram. • UML – Unified Modeling Language • This is the standard that professionals use. Class Name goes here Fields are listed here Methods are listed here

  4. UML Diagrams • Add your members to the UML: Class Name goes here Fields are listed here Methods are listed here

  5. UML Diagrams • Indicate if the members are public or private: • -  This means that the member is private • + This means that the member is public • Also, list the method’s parameters.

  6. UML Diagrams • State whether the methods are void or return a value: Class Name goes here Fields are listed here Methods are listed here Congrats! You’re Done!

  7. UML Diagrams • Keep in mind, that most people are not as smart as us. They are not using our variable notation. • This is how a UML diagram looks if your variable name does not specify its data type:

  8. UML Diagrams • Take the next minute and practice creating a UML. • Create one of your Circle Class. • Again, here is the example of the Rectangle class….

  9. UML Diagrams Class Name goes here Fields are listed here Methods are listed here

More Related