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:
http://www.lucidchart.com
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
source
Super informative video! This was amazing, a great video that I recommend to anyone wanting to learn about Class Diagrams and their relationships.
Great job! Thx a lot!
This is great. No other videos even come close to being as good as this. Thanks for the great explanation. Someday someone will explain UML diagram and actually show how it relates to code. So the video says that a tortoise can exist without being in a creep, but didn't say how. The assumption is that there is some other class that must have a property/member of List<tortoise> tortoises = new List<tortoise> … probably a 'zoo' class actual owns this list. But some of the tortoises aren't in the cool tortoise 'creep' click, so they don't get to be a part of that group … the List<tortoise> creep = new List<tortoise> … and who knows who owns this creep property … maybe the zoo owns this property too. However this is not mentioned, so it has taken a while to figure this concept out. NO video really explains this. What the relations actually look like when implemented in code. where do these things live; where do they get instantiated. are they passed around, referenced.
Very well explained.
If order id is duplicated among the several different customers, then isn't there any problem with this design? How do you resolve this issue? If resolved, what would be the new UML Class Diagram for that.
like,like and like. wish I found it sooner. After 2 hours seeking the one explained all very well
One question is keep on annoying me in my brain: why do we need all those unis if they can't be even close to these type of tutorials? Thanks for this amazing video
It was all awesome 😀 except for the child abuser at 8:37.
its easy to understand. thx a lot bro
Thank you so much for the tutorial, so helpful
Informative and helpful
Good 👌👌🎉
5:42 you used non directional association here. Therefore the relationship should be described as a Noun rather than with a verb. If its directional association then you should use a verb
I can't believe I learned a course in just 10 mins. Weldon!
Excellent work ..
Thanks to this tutorial I was able to begin to get through a ridiculously hard to understand course in Programming. You make something intermediate sound elementary while he makes it sound like rocket science. I'm using Lucidchart for the UML Class Diagrams I have to do in the course too.
Why we use "String" to phone number? It is a number right? So we need to use "Int" right?
bro, i guess you must make attributes public in parent class before making inheritance for subclass in 4:58
outstanding explanation in just 10 min = thank you so much
This video is the reason why I pay for the internet. Thank you ♥
Lol best tutorial I've ever seen xD
Wow . I have a software engineering exam at 9 am today ..it’s 4:34 am and I have to say this video is amazing thank you and wish me good luck ❤️love from Zimbabwe Africa
Great recap video
Amazing, to the point, clear, fast. Sense of satisfaction that I have learned a lot within 15 minutes.
牛逼
what about application? do you draw app in uml? Need answer ASAP!!
the fact that i can understand this very well in just within 10mins+ , compare to my university classes that takes 2 weeks worth of time just to explain this, it just shows how most universities or colleges are either a scam or just straight out plain fraud.
Excellent tutorial! When you use the symbols << something >> this specification is about of the stereotypes over kind of class. For example, if your class is of kind Data Entity or in particular another kind of class. The stereotype is only descriptive. Is correct? Excuse if my english ain't very good. Thank. Greets from Argentina. 😃
This has really been a life saver. consise, to the point, no pushy ads. It sums up exactly what I needed for my test, and in less than a fraction of the time it would have taken me to go through the material myself. brief, but not rushed and genuinely fun to watch. This has been one of the best videos I've come across on this site.
Your videos are so good! I wish you will make one for state charts!
Brilliant video
Which software are you using for creating uml diagram🙄
If I do student schedule and then tha student become a employee
I DONT WANT TO REPATE THE SCHEDULE SO WHO CAN I UPGRADE THE STUDENT TO EMPLOYEE SCHEDULE
WITHOUT REPATING IT
Hi , I see shopping cart is composite to customer class means without customer there is no shopping cart but there is no customer class object inside shopping cart class.
Very useful and clear explanation🔥
wheres your neck bro?
very clear..thanks
Most perfect tutorial I've seen ever. Love it ❤❤
king
Very helpful
where have you been…….thank you so much for simplifying this ☺
Best video for class diagram!!!
Thank you for this short, crisp & to the point tutorial.
Appreciated!
What an amazing approach to teaching!
Hello, I have an assignment and I am stuck in the middle, can you help and tell me where am I going wrong? Thank you.
I can't thank you enough 💙
I rarely (if ever) comment on videos, but this is so so good. The explanation is simply superb, especially the part about multiplicity. Thank you!
😃 Great video and super well explained, thanks