Friday, March 06, 2015

Object-oriented programming

Object-oriented programming
Object-oriented programming is a programming paradigm that uses abstraction to create models based on the real world. It uses several techniques from previously established paradigms, including modularity, polymorphism, and encapsulation.   
Object-oriented programming is intended to promote greater flexibility and maintainability in programming, and is widely popular in large-scale software engineering.

Terminology
Namespace
A container which allows developers to bundle all functionality under a unique, application-specific name.
Class
Defines the characteristics of the object.  
Object
An Instance of a class.
Property
An object characteristic, such as color.
Method
An object capability, such as walk. It is a subroutine or function associated with a class.
Constructor
A method called at the moment of instantiation of an object.  
Inheritance
A class can inherit characteristics from another class.
Encapsulation
A method of bundling the data and methods that use them together.
Abstraction
The conjunction of complex inheritance, methods, properties of an object must be able to simulate a reality model.
Polymorphism=Many Forms
Poly =many and morphism = forms. Different classes might define the same method or property.
For a more extensive description of object-oriented programming, see Object-oriented programming at Wikipedia.

1 comment:

  1. Most good blogger do blogging not because they expect to get adulation by the public, but because it is fun to share informative articles. Thanks you author for wonderful information shared here.
    Software Development Company in Indore

    ReplyDelete