Learn how to make classes, attributes, and methods in this UML Class Diagram tutorial. There’s also in-depth training and examples on inheritance, aggregation, and composition relationships.

UML (or Unified Modeling Language) is a software engineering language that was developed to create a standard way of visualizing the design of a system. And UML Class Diagrams describe the structure of a system by showing the system’s classes and how they relate to one another.

This tutorial explains several characteristics of class diagrams. Within a class, there are attributes, methods, visibility, and data types. All of these components help identify a class and explain what it does.

There are also several different types of relationships that exist within UML Class Diagrams. Inheritance is when a child class (or subclass) takes on all the attributes and methods of the parent class (or superclass). Association is a very basic relationship where there’s no dependency. Aggregation is a relationship where the part can exist outside the whole. And finally, Composition is when a part cannot exist outside the whole. A class would be destroyed if the class it’s related to is destroyed.

Further UML Class Diagram information: https://www.lucidchart.com/pages/uml-class-diagram


Learn more and sign up:

Follow us:
Facebook: https://www.facebook.com/lucidchart
Twitter: https://twitter.com/lucidchart
Instagram: https://www.instagram.com/lucidchart
LinkedIn: https://www.linkedin.com/company/lucidsoftware


Credits for Photos with Attribution Requirements
Tortoise – by Niccie King – http://bit.ly/2uHaL1G
Otter – by Michael Malz – http://bit.ly/2vrVoYt
Slow Loris – by David Haring – http://bit.ly/2uiBWxg
Creep – by Poorna Kedar – http://bit.ly/2twR4K8
Visitor Center – by McGheiver – http://bit.ly/2uip0Hq
Lobby – by cursedthing – http://bit.ly/2twBWw9

Comments (50)

  1. Thank you soooo much! Very concise. This video helped me a lot and I used Lucidchart to do my homework. Super easy to use specially for a beginner in the topic. Best regards from Guatemala!

  2. you lost me on 3:39 when you say customer is child abuser 😀 God are god damn right, freaking customers are most likely also child abusers
    also both customer and admin have email so why not just add them to user

  3. Jesus fuck this was great. Why the fuck do professors insist on an hour and a half long lectures just to spew a bunch of bs nobody cares about, and this dude here explains it in 10 minutes.

  4. Unfortunately, nobody uses UML these days – ever since IBM killed Rational Rose. Why should anyone produce useful diagrams when they can hide behind buz words like 'kafka' and 'elasticsearch' and (god-forbid) 'agile'..

  5. I am a self-taught programmer surprisingly I could understand everything you said and explained amazing and thank you.

  6. I re-watch this video every time I make a UML class diagram. It's so concise that I can follow even when I watched it for the first time.

  7. Thanks fam. I love the way you are explaining things. Do you have any video on other subjects by any chance?

Comments are closed.