Tuesday 23 September 2014

THE FIVE BASIC CONCEPTS OF OOP (OBJECT ORIENTED PROGRAMMING) WITH DEFINITION




The general concepts of OOP are given below.



  1. Data abstraction
  2. Data encapsulation
  3. Modularity
  4. Inheritance
  5. Polymorphism




Data abstraction :  Abstraction refers to the act of representing essential features without including the background details or explanation.


Data encapsulation:  Placing data and functions together is central idea of object oriented programming. This is known as encapsulation


Modularity:  The act of partitioning a program into individual units is called modularity.


Inheritance: Inheritance is the capability of one class to inherit properties from another class.


Polymorphism: Polymorphism is the ability for a message or data to be processed in more than one form. The same operation differently depending upon the type of data it is working with.

No comments:

Post a Comment