Saturday, 15 August 2015

What is OOP (Object Oriented Programming)

WHAT IS OBJECT ORIEANTIED PROGRAMMING

Object oriented programming is the programming technique or programming paradigm which consists of several interacting objects.Which in turn contain the attributes also called data members in typical C++ programming and  methods which are also called behavior  or typically, they are called member function in c++ programming.
 Object oriented programming is also used to modal the real world objects.So it is also some time called as a modeling language.We can modal different objects and different situation according to the requirements more easily and with great advantage.
we will study how objects interact with each other and what method  they use to interact in upcoming tutorials.The best facility that object oriented programming provides  is that we can manipulate data members or attributes using methods or behavior.These data members and members functions are tightly coupled in a thing which we call a "class".We will later  elaborate objects and classes in upcoming tutorial so don't worry about that.Object oriented programming is quite different from procedural c or c++  programming languages.Object oriented in c++ is designed to help programmers or coders to overcome the difficulties like debugging etc, they faced in structural or procedural c or c++ programming.
Due to its great features object oriented programming technique is widely used in different programming languages.Following languages contain object oriented programming technique:

  • C++
  • Objective C
  • C Sharp
  • PHP
  • Java
  • perl
  • Ruby
  • Python     

There are four design principles of object oriented programming which are the base of object oriented programming.We can say that the foundation of object oriented programming is based on the four following stones namely;
   
     (1) Information Hiding
     (2)Abstraction
     (3)Encapsulation
     (4)Inheritance
     (5) Polymorphism
    

0 comments:

Post a Comment

Popular Posts