Headlines News :
Home » , » What is Object Oriented Programming

What is Object Oriented Programming

Written By Durgesh on Tuesday, 14 February 2012 | 01:33

Object oriented programming 

Object-oriented programming takes the view that what we really care about are the objects we want to manipulate rather than the logic required to manipulate them
Object-oriented programming (OOP) is a programming language model organized around "objects" rather than "actions" and data rather than logic.

We can say that if there is one of the following property  then this is object oriented programming
  1. Inheritance 
  2. polymorphism 
  3. binding 
  4. encapsulation
  5. hiding 
  6. Abstraction 
The concepts and rules used in object-oriented programming provide these important benefits:
  1. The concept of a data class makes it possible to define subclasses of data objects that share some or all of the main class characteristics. Called inheritance, this property of OOP forces a more thorough data analysis, reduces development time, and ensures more accurate coding.
  2. Since a class defines only the data it needs to be concerned with, when an instance of that class (an object) is run, the code will not be able to accidentally access other program data. This characteristic of data hiding provides greater system security and avoids unintended data corruption.
  3.  The definition of a class is reuseable not only by the program for which it is initially created but also by other object-oriented programs (and, for this reason, can be more easily distributed for use in networks).
  4. The concept of data classes allows a programmer to create any new data type that is not already defined in the language itself.
In OOPs concept is implemented in our real life systems.
OOPs have following features
1. Object - Instance of class
2. Class - Blue print of Object
3. encapsulation - Protecting our data
4. polymorphism - Different behaviors at diff. instances
5. abstraction - Hiding our irrelevance data
6. inheritance - one property of object is aquring to
another property of object

    Share this article :

    No comments:

    Post a Comment

     
    Support : Creating Website | Johny Template | Mas Template
    Copyright © 2011. Tutorial of Programing - All Rights Reserved
    Template Modify by Creating Website
    Proudly powered by Blogger