Tuesday, 5 February 2013

Representing Behavior


  • A class behavior defines something the class can do or that can be done with the class
  • Behavior names should follow the same conventions used for attribute names except that a pair of parenthesis is included after the name
  • The parameter name and types as well as the return type for each behavior can be specified
  • These pieces of information concerning a behavior make up the behavior's signature

No comments:

Post a Comment