object-oriented programming (OOP)

Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.

The programming challenge was seen as how to write the logic, not how to define the data. Object-oriented programming takes the view that what we really care about are the objects we want to manipulate rather than the logic required to manipulate them. Examples of objects range from human beings (described by name, address, and so forth) to buildings and floors (whose properties can be described and managed) down to the little widgets on a computer desktop (such as buttons and scroll bars).

The first step in OOP is to identify all the objects the programmer wants to manipulate and how they relate to each other, an exercise often known as data modeling. Once an object has been identified,  it is generalized as a class of objects (think of Plato's concept of the "ideal" chair that stands for all chairs) which defines the kind of data it contains and any logic sequences that can manipulate it. Each distinct logic sequence is known as a method. Objects communicate with well-defined interfaces called messages.

The concepts and rules used in object-oriented programming provide these important benefits:

  • The concept of a data class makes it possible to define subclasses of data objects that share some or all of the main class characteristics. Called inheritance, this property of OOP forces a more thorough data analysis, reduces development time, and ensures more accurate coding.
  • Since a class defines only the data it needs to be concerned with, when an instance of that class (an object) is run, the code will not be able to accidentally access other program data. This characteristic of data hiding provides greater system security and avoids unintended data corruption.
  • The definition of a class is reuseable not only by the program for which it is initially created but also by other object-oriented programs (and, for this reason, can be more easily distributed for use in networks).
  • The concept of data classes allows a programmer to create any new data type that is not already defined in the language itself.

Simula was the first object-oriented programming language. Java, Python, C++, Visual Basic .NET and Ruby are the most popular OOP languages today. The Java programming language is designed especially for use in distributed applications on corporate networks and the Internet. Ruby is used in many Web applications. Curl, Smalltalk, Delphi and Eiffel are also examples of object-oriented programming languages.

OOPSLA is the annual conference for Object-Oriented Programming Systems, Languages and Applications.


This was last updated in August 2008

Continue Reading About object-oriented programming (OOP)

Dig Deeper on Application integration architecture

Join the conversation


Send me notifications when other members comment.

Please create a username to comment.

Thanks to your help!
It is environment where we work to consider object as real entity. at with other element like data, and method are consider. there some aspect of oops class, object, data abstraction, inheritance, polymorphism etc.
What is object oriented programming?
Thanks for helping!
import javax.swing.JOptionPane;
public class Info
public static void
JOptionPane.showMessageDialog(null,"Thanks for the Info!");

No course has ever made me think and reason out ideas as programming. I love programming and software development

Chinasa Chukwu
Before OOP and even now communication is done by subroutines. However what allows programs to understand & thus respond and relate to what being communicated?

The ability to make a single inheritance in a program is called a subroutine. The word inheritance is used to mean multiple inheritance or multiple subroutines based on Darwin classes & Mendel inheritance evolution theory& principle. Based on if I have some experience or element of you in me we can relate.

Is Simula saying it invented subroutines or multiple Inheritance?

From Romana Mendes

OOP/OOFP is a relational evolution program. It is base on if objects can evolve from their simplest form to more complex forms ie machine code to requirement for intranets inheriting similar attribute and names. So when the internet send out say the name or attribute, every machine code, every Ethernet, computer & computer network know what it means and AUTOMUSLY knows what to do
Romana Mendes the invented of object oriented programming or object oriented functional programming. For use with functional programming in 1978. She was the first to use both classes & Inheritance in a computer language. She used OOFP with functional Basic, Fortran, Pascal Agol. She only informed the world she invented in it 1982 because she wanted compliers to evolve and thus relate to each & other so the internet & the world wide web can be made


File Extensions and File Formats

Powered by: