1. Home
  2. Computing & Technology
  3. C / C++ / C#

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
Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Getting Started
  5. Object Oriented Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.