Wednesday, February 5, 2014

The Three Pillars

Basic information on the basic rules of Object Oriented Programming

  1. Encapsulation - private communication with object in order to avoid distractions.
  2. Inheritance – child may inherit everything from a parent.
  3. Polymorphism – A child may execute the functions of a parent class but its behavior can change if child overrides functions of the parent class.