Labels

Object oriented programming is an essential part of our today’s programming methodology. It is being extensively used in all programming languages due to its key aspects and benefits which will be discussed later on. It is a technique in which we visualize our programming problems in the form of objects and their interactions as happens in real life.

Examples:

We have different objects around us in our real life that interact with each other to perform different operations For example, Human beings, cars, tree, house etc.

Take an example of a person lives in a house. He drives a car. All these are objects and have their own unique characteristics. Take another example of a School; the objects in a school are student, teacher, books, pen ,school bag, classroom, parents, playground etc.

Suppose we want to develop a fee collection system for a school for this we will need to find out related objects and their interactions as happens in real life. In this way we can say that object orientationmakes it easier for usto solve our real world problems by thinking solution of the problem in terms of real world objects.

So we can say that in our daily life everything can be taken as an object that behaves in a certain way and has certain attributes. In object orientation we move our concentration to objects in contrast to procedural paradigm in which we simply write our code in functions and call them in our main program.

What is a Model?

A model is an abstraction of something real or conceptual. We need models to understand an aspect of reality.

Model Examples

Highway maps

Architectural models

Mechanical models

OO Models:

In the context of programming models are used to understand the problem before starting developing it. We make Object Oriented models showing several interacting objects to understand a system given to us for implementation.

About The Author

About The Site

Easy Learning is a study based website designed solely for the purpose of making the learning process for the students effective and easy. The articles are written in simple and precise manner so that novice as well as professional readers can be benefited from them. It covers articles from various subjects of computer science like Data Structures, Programming Fundamentals. Just Go through the "Categories" in the right hand panel. You can also search the article in the Search Box at the top right corner.

Thanks for visiting. If you have any suggestions or questions. Do write to me at usmanak@gmail.com