Source: https://www.inf.ed.ac.uk/teaching/courses/seoc1/2004_2005/notes/LectureNote05_ClassDiagrams.PDF.pdf