[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655925-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-655925-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","uml-diagram-key-basics","UML Diagram Key - Basics","","UML Diagram Key - Basics explains how to read common UML elements for object-oriented programming. It summarizes visibility symbols for public, protected, and private; additional notation such as static, final, static final, and constructors; and core relationship types including association, generalization, dependency, aggregation, composition, and realization. It also provides example diagram guidance for class diagrams and introduces UML as “Unified Modeling Language” used to describe methods, objects, interactions, and program behavior.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/uml-diagram-key-basics/655925/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/uml-diagram-key-basics/655925.png","ImageObject",300,407,{"name":42,"@type":43},"fresh2021","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-31","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What do the UML visibility symbols (+, #, -) mean?","Question",{"text":62,"@type":63},"“+” indicates Public, “#” indicates Protected, and “-” indicates Private. These symbols appear with elements in UML diagrams.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How is dependency represented in UML?",{"text":67,"@type":63},"Dependency is the least formal relationship and should be used carefully. It is shown by a dotted arrow pointing in the direction of the dependency.",{"name":69,"@type":60,"acceptedAnswer":70},"What is the difference between aggregation and composition?",{"text":71,"@type":63},"Aggregation is a parent-child relationship where the child can exist independently, represented by a hollow diamond. Composition is stronger: the child cannot exist independently and is represented by a filled diamond.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},655925,1792964949,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":33,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":123},962093912154,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","UML Diagram Key  \nBasics  \nVisibility Symbols  \n\n| + | o | Public |\n| --- | --- | --- |\n| \\# | ♦ | Protected |\n| - | ■ | Private |\n\nAdditional Symbols  \n\n| S | Static |\n| --- | --- |\n| F | Final |\n| SF | Static Final |\n| C | Constructor |\n\nAssociation  \n􀁸 Stronger relationship than dependency  \n􀁸 An object contains another one, a one-way relationship  \n􀁸 Represented by a solid arrow that points in the direction of the instance being contained by another classifier   \nGeneralization  \n􀁸 An association representing class extension and inheritance  \n􀁸 Used to show that a class has a super class  \n􀁸 Represented by a hollow solid arrow   \nExample Diagrams  \nWant to know more?  \nWhat is UML?  \n􀁸 Means “Unified Modeling Language”  \n􀁸 Used for object-oriented programming (OOP)  \n􀁸 Among others, specifies:  \no Methods (activities)  \no Objects  \no Interactions  \no User Interface  \no Relationships  \no Dependencies  \no How the program runs  \nClass Diagram  \n􀁸 Show relationships between classes  \n􀁸 Allows for coherent software development  \n􀁸 Can look different between UML software  \nClassifier  \n􀁸 A general term used for an object  \n􀁸 Includes (but not limited to)  \no Class  \no Interface  \no Enumeration  \nClass  \n􀁸 Represented by a box  \n􀁸 An object that has information about its behavior and structure  \n􀁸 Can contain information about its:  \no Package  \no Name  \no Fields  \no Methods  \no Classes  \no Interfaces  \no Parent Class  \nAttribute  \n􀁸 A value associated with a classifier to describe it  \nOperation  \n􀁸 Method, function, action, or service an object can perform  \nDependency  \n􀁸 Least formal relationship, so avoid using it  \n􀁸 An object depends on another one (by parameter or return type)  \n􀁸 A classifier at beginning of arrow depends on the classifier at the arrowhead in some way  \n􀁸 Represented by a dotted arrow that points in the direction of the dependency   \nAggregation  \n􀁸 A parent-child relationship  \n􀁸 The child can exist independently of parent  \n􀁸 Represented by a hollow diamond   \nComposition  \n􀁸 A parent-child relationship  \n􀁸 The child cannot exist independently of parent  \n􀁸 Stronger relationship than aggregation  \n􀁸 Represented by a filled diamond   \nRealization  \n􀁸 An association representing interface implementation  \n􀁸 Represented by a hollow dotted arrow","cbCaif9sYXbHQ5zx","https://ap.wps.com/l/cbCaif9sYXbHQ5zx","pdf",503653,"English","# Visibility Symbols\n# Additional Symbols\n# Association\n# Generalization\n# Class Diagram\n# Classifier and Class\n# Attribute and Operation\n# Dependency, Aggregation, Composition, Realization","[{\"question\":\"What do the UML visibility symbols (+, #, -) mean?\",\"answer\":\"“+” indicates Public, “#” indicates Protected, and “-” indicates Private. These symbols appear with elements in UML diagrams.\"},{\"question\":\"How is dependency represented in UML?\",\"answer\":\"Dependency is the least formal relationship and should be used carefully. It is shown by a dotted arrow pointing in the direction of the dependency.\"},{\"question\":\"What is the difference between aggregation and composition?\",\"answer\":\"Aggregation is a parent-child relationship where the child can exist independently, represented by a hollow diamond. Composition is stronger: the child cannot exist independently and is represented by a filled diamond.\"}]","UML Diagram Key - Basics | PDF"]