Object Oriented Programming

Hi, Today i’ll brief on Object Oriented Programming.


Object oriented programming helps to build the programs that are modeled in the way in which people think about and deal with the problems in the real world. In a procedural model, the programmer has to write a procedure for every computing task which makes the code lengthy. In OOP, the concept of “Object” is introduced. An object is an entity that holds information and behavior and that can interact with other objects as well. The programming practice consists of designing such objects that together model the problem at hand.

The main concepts in OOP are:

1) Class and Object

2) Abstraction

3) Encapsulation

4) Inheritance

In general terms, these terms can be simply defined as follows:

Class: A class can be defined as a logical entity that holds data and methods that operate on the data to create a template that can be instantiated for a particular problem solution.

Object: An object is a physical entity and can be called as an instance of a class which is invoked for solving a particular problem domain. An object binds the instantiated data and methods that operate on that data.

Abstraction:Displaying only the part of the data that is sufficient to understand the problem domain. As an example, consider the situation of a GPS system. The user of the GPS system doesn’t need to know how the system connects with the satellites and how the information from three satellites is combined and analysed to know the exact location of the user. Only thing that the user needs to worry about is how to use the front end interface of the GPS system. Thus we can say that the user is abstracted from the inner functionalities of the GPS system.

 Encapsulation: Encapsulation can be defined as a language construct that helps in wrapping of data with the methods that operate on that data. Some authors regard the previous definition as encapsulation.

 Inheritance: Inheritance is the deriving of a class from a parent class or super class. This implies that the sub class has the functionalities of the parent and it can add functionalities of its own


About Amogh Natu

Technology enthusiast, Associate Consultant @ Microsoft, music lover, love my guitar, Microsoft.NET, ASP.NET, C#.NET Professional.
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Your comments or opinions.....

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s