Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Look at Class representation in UML Class Diagram
WhatsApp
Sateesh Arveti
14y
9.2
k
0
0
25
Blog
In class diagram, a class is represented by a solid rectangle. It is divided into three sections and each one represent below details of the class in order:
1) Class Name [usually starts with Capital letter]
2) Attributes/Properties of the Class
3) Methods/Operations present in the Class.
Visibility of the attributes/methods is represented by below symbols preceding the name:
1) + : Implies public visibility.
2) - : Implies private visibility.
3) # : Implies protected visibility.
Method parameters and return type are represented in below manner:
GetName(id: int, state: string) : string
A sample class diagram can be found below:
Look at Class representation in UML Class Diagram
Up Next
Difference between Singleton Class and Static Class
Ebook Download
View all
Exploring Design Pattern for Dummies
Read by 13.3k people
Download Now!
Learn
View all
Membership not found