SlideShare a Scribd company logo
1 of 12
Class Diagram
By:
M.Daniyal Ashfaq (2013-CS-051)
&
SAGAR KUMAR (2013-CS-039)
Department of Computer Science
Sir Syed University of Engineering & Technology, Karachi
Introduction
A Class Diagram:
 Is a Static Diagram
 Describes System Structure
 Combines Number of Model Elements
such as Classes, Their Attributes and
Operations(Methods).
Purpose
 UML (Unified Modeling Language)
Class Diagrams are used to illustrate
Classes of Object Oriented Applications and
Their Relationships with Attributes , Operations
and Other Classes.
A Basic Icon
The Interaction and Algorithmic Detail of Classes
is Never Represented in UML Class Diagrams.
How Class Diagram Looks
Attributes
Operations
Inheritence
Association
Example
References
 Class Diagrams by Robert C.Martin
 UML Distilled by M.Fowler
 http://spacecraft.sourceforge.net/doc/api/
ExampleUML.jpg
Class diagram by sagar & daniyal

More Related Content

What's hot

Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagramfahad_uaar
 
Object oriented design using uml
Object oriented design using umlObject oriented design using uml
Object oriented design using umlKarunaShrivastav
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling LanguageShahzad
 
A practical approach for model based slicing
A practical approach for model based slicingA practical approach for model based slicing
A practical approach for model based slicingIOSR Journals
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IIpkaviya
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageIsmail El Gayar
 
unified modelling language(UML) diagrams
unified modelling language(UML) diagramsunified modelling language(UML) diagrams
unified modelling language(UML) diagramspratyashi satapathy
 
UML DIAGRAMS
UML DIAGRAMSUML DIAGRAMS
UML DIAGRAMSSelshaCs
 

What's hot (10)

Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagram
 
Uml
UmlUml
Uml
 
Object oriented design using uml
Object oriented design using umlObject oriented design using uml
Object oriented design using uml
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
 
A practical approach for model based slicing
A practical approach for model based slicingA practical approach for model based slicing
A practical approach for model based slicing
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT II
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling language
 
unified modelling language(UML) diagrams
unified modelling language(UML) diagramsunified modelling language(UML) diagrams
unified modelling language(UML) diagrams
 
class diagram
class diagramclass diagram
class diagram
 
UML DIAGRAMS
UML DIAGRAMSUML DIAGRAMS
UML DIAGRAMS
 

Viewers also liked

Cam nangchamsoctresosinh
Cam nangchamsoctresosinhCam nangchamsoctresosinh
Cam nangchamsoctresosinhSmartKids
 
Beginner Driving School Burlington
Beginner Driving School BurlingtonBeginner Driving School Burlington
Beginner Driving School BurlingtonNicola83
 
Effective leaders prof. ir. mansyur ma'shum, ph.d
Effective leaders prof. ir. mansyur ma'shum, ph.dEffective leaders prof. ir. mansyur ma'shum, ph.d
Effective leaders prof. ir. mansyur ma'shum, ph.dAli Alparady
 
leaders vs managers prof. ir. mansyur ma'shum, ph.d
leaders vs managers prof. ir. mansyur ma'shum, ph.dleaders vs managers prof. ir. mansyur ma'shum, ph.d
leaders vs managers prof. ir. mansyur ma'shum, ph.dAli Alparady
 
Zabbix zabbix manual v1.8
Zabbix zabbix manual v1.8Zabbix zabbix manual v1.8
Zabbix zabbix manual v1.8julio7896
 
Jurnal bisnis dan manajemen
Jurnal bisnis dan manajemenJurnal bisnis dan manajemen
Jurnal bisnis dan manajemenAli Alparady
 
SISTEM PEREKONOMIAN INDONESIA
SISTEM PEREKONOMIAN INDONESIASISTEM PEREKONOMIAN INDONESIA
SISTEM PEREKONOMIAN INDONESIAAli Alparady
 
Learn Sass and Compass quick
Learn Sass and Compass quickLearn Sass and Compass quick
Learn Sass and Compass quickBilly Shih
 
"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOS
"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOS"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOS
"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOSAwildaSilva2012
 
How to be a gentleman
How to be a gentlemanHow to be a gentleman
How to be a gentlemanAlaina Fox
 
No pain, no gain
No pain, no gainNo pain, no gain
No pain, no gainSagar Kumar
 

Viewers also liked (20)

Class diagram
Class diagramClass diagram
Class diagram
 
Cam nangchamsoctresosinh
Cam nangchamsoctresosinhCam nangchamsoctresosinh
Cam nangchamsoctresosinh
 
Beginner Driving School Burlington
Beginner Driving School BurlingtonBeginner Driving School Burlington
Beginner Driving School Burlington
 
Question 2
Question 2Question 2
Question 2
 
Effective leaders prof. ir. mansyur ma'shum, ph.d
Effective leaders prof. ir. mansyur ma'shum, ph.dEffective leaders prof. ir. mansyur ma'shum, ph.d
Effective leaders prof. ir. mansyur ma'shum, ph.d
 
Skripsi
SkripsiSkripsi
Skripsi
 
leaders vs managers prof. ir. mansyur ma'shum, ph.d
leaders vs managers prof. ir. mansyur ma'shum, ph.dleaders vs managers prof. ir. mansyur ma'shum, ph.d
leaders vs managers prof. ir. mansyur ma'shum, ph.d
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Inheritence
InheritenceInheritence
Inheritence
 
Zabbix zabbix manual v1.8
Zabbix zabbix manual v1.8Zabbix zabbix manual v1.8
Zabbix zabbix manual v1.8
 
Jurnal bisnis dan manajemen
Jurnal bisnis dan manajemenJurnal bisnis dan manajemen
Jurnal bisnis dan manajemen
 
SISTEM PEREKONOMIAN INDONESIA
SISTEM PEREKONOMIAN INDONESIASISTEM PEREKONOMIAN INDONESIA
SISTEM PEREKONOMIAN INDONESIA
 
Plan
PlanPlan
Plan
 
Learn Sass and Compass quick
Learn Sass and Compass quickLearn Sass and Compass quick
Learn Sass and Compass quick
 
Chuong 2
Chuong 2Chuong 2
Chuong 2
 
"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOS
"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOS"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOS
"ASSESSMENT" CLASES DE ORGANIZADORES GRÁFICOS
 
Personal hygiene
Personal hygienePersonal hygiene
Personal hygiene
 
How to be a gentleman
How to be a gentlemanHow to be a gentleman
How to be a gentleman
 
Chapter1 Introduction to OOP (Java)
Chapter1 Introduction to OOP (Java)Chapter1 Introduction to OOP (Java)
Chapter1 Introduction to OOP (Java)
 
No pain, no gain
No pain, no gainNo pain, no gain
No pain, no gain
 

Similar to Class diagram by sagar & daniyal (20)

Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
UML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdfUML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdf
 
Uml
UmlUml
Uml
 
Introduction To Uml
Introduction To UmlIntroduction To Uml
Introduction To Uml
 
432
432432
432
 
Uml
UmlUml
Uml
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)
 
Apostila UML
Apostila UMLApostila UML
Apostila UML
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Uml class Diagram
Uml class DiagramUml class Diagram
Uml class Diagram
 
Intro Uml
Intro UmlIntro Uml
Intro Uml
 
Ooad static diagram
Ooad static diagramOoad static diagram
Ooad static diagram
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
UML
UMLUML
UML
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Uml BSE
Uml BSEUml BSE
Uml BSE
 
Uml
UmlUml
Uml
 

Recently uploaded

Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
How To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROHow To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROmotivationalword821
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...Akihiro Suda
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 

Recently uploaded (20)

Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
How To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROHow To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTRO
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 

Class diagram by sagar & daniyal