TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Look at Class representation in UML Class Diagram
Sateesh Arveti
Aug 04, 2010
9.1
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
Class Diagram represents the classes of a system and their interrelationships.
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
Next Recommended Reading
Difference between Singleton Class and Static Class