Wednesday, October 15, 2014

OO Principles



  1. Accessor: is a method that is used to ask an object about itself. ( propery get)
  2. Mutator: public method used to modify the state of an object.(property set)
  3. Encapsulation: hiding data implementation by restricting access to accessors and mutators
  4. Abstraction: 
  5. inheritance: is a relationship
  6. polymorphism:  one name many forms.

No comments:

Post a Comment