UML - UML (Unified Modeling Language) UML is used -to...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
UML (Unified Modeling Language) UML is used -to document the object-oriented development process -to design object-oriented programs UML diagrams are used to visualize relationship among classes and objects. Examples of UML diagrams – Class diagrams, Object diagrams, and Use Case diagrams Class Diagrams A class diagram consists of one or more classes, each with sections for the class name, Attributes (instance variables in Java), and methods, and describes relationship between classes. Class Name Attributes variableName:type = initial value Methods methodName(parameterType):return type
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Public + Private – Protected # Ex. –address: String #idNumber: int Multiplicity 1 one and only one 0..1 zero or one M..N from M to N (natural numbers) * from zero to any positive integers 0..* from zero to any positive integers 1..* from one to any positive integers Example : One to many association For one bank, there are many customers. 1
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/11/2009 for the course CS 205214 taught by Professor Balasooriya/kouvetakis during the Spring '09 term at ASU.

Page1 / 6

UML - UML (Unified Modeling Language) UML is used -to...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online