PPT Slide
UML Notation for an Object (= Class instance)
ObjectName:ClassName
attribute 1
……..
attribute n
An attribute specification is
[type] identifier = value
p1:Point
x = 0
y= 0
p2:Point
x = 0
y= 0
Point p1 = new Point();
p1.x = 0;
p1.y=0;
Point p2 = new Point();
p2.x = 24;
p2.y = 40;
Previous slide
Next slide
Back to first slide
View graphic version