1. About.com
  2. Computing & Technology
  3. C / C++ / C#

Discuss in my forum

About Object Oriented Programming

By , About.com Guide

Definition: Object Oriented Programming (OOP) is a method of developing software that models the real world using objects. For example a driving simulation might have road objects, vehicle objects and possibly human objects.

An object is a self contained item of data that can only be accessed or changed in a controlled way. This prevents side effects- a common problem in procedural (non object ) code where data is globally accessible. Objects can receive or send messages to other objects by calling their methods.

Objects can be defined in terms of existing objects- this is known as inheritance. For an indepth look at OOP, see the article on Object Oriented Programming.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

©2012 About.com. All rights reserved. 

A part of The New York Times Company.