Professional Documents
Culture Documents
(UML)
Class and Objects Diagrams
1
Outlines
2
Describing Objects With Classes
Every object contains certain pieces of data and a number of operations
All the objects of a given class contain
the same data items, though with differing actual values, and
operations
3
Attributes
Attributes describe data fields in a class and can have a type which defines the
values that an object can hold.
By default attribute have instance scope , each instance can have a distinct value.
An attribute with class scope has one value shared by all instances of the class
(‘static’)
Attributes with class scope are underlined.
9
Next Lecture
Thank You.
Associations
10