1. Object Oriented Programming OOP

    1. New way to approach programming
    2. Facilitates writing large structured programs
    3. Defining traits

      • Encapsulation
        • Information hiding
      • Polymorphism
        • Function overloading
      • Inheritance
  2. Encapsulation

  3. Polymorphism

    1. Literally, allows one name to be used for two or more related but technically different purposes
      • Function overloading:
      • C++ allows one name to specify a generic class of actions; the specific action is determined by the data type
      • Dynamic binding:
      • Specific version of the function to be used is determined by the compiler based on the data type
  4. Polymorphism (contd.)

  5. Inheritance

  6. Points to remember