Tuesday, 5 February 2013

Representing Attributes


  • A class may have zero or more attributes
  • Attributes represent the properties or important pieces of data that each object of the class must hold
  • Attribute names in the UML should begin with a lowercase letter
  • If an attribute name consists of more than one word then the words should be combined together capitalizing the first letter of each new word
  • The list of a class's attributes is separated from the class name by a solid line.

No comments:

Post a Comment