Article
Article
- Computing & Information Technology
- Programming and software
- Object-oriented programming
Object-oriented programming
Article By:
Mata-Toledo, Ramon A. Department of Computer Science, Rollins College, Winter Park, Florida.
Gupta, Pranshu Department of Mathematics and Computer Science, DeSales University, Center Valley, Pennsylvania.
Last reviewed:January 2020
DOI:https://doi.org/10.1036/1097-8542.757337
- Characteristics of OOP languages
- Advantages of object-oriented programming
- Brief history of OOP
- Related Primary Literature
- Additional Reading
A computer programming approach using a number of units called objects. In more technical terms, the programmer defines an object as a data structure and the operations (functions) that can be applied to it. The emphasis in object-oriented programming (OOP) is on characterizing the objects as active entities that can perform operations on and for them. In an OOP program, for instance, the user may click objects such as buttons and boxes contained in a window object, or may choose to close or open any available window object. Each action that a user takes (for instance, clicking on a button object) causes an event to occur. An event, in turn, may trigger or start the execution of a method (a particular sequence of programming statements) written for a particular purpose. Assume, for example, that after entering a series of values, the user clicks on a “Calculate Average” button. Clicking on this button causes an event to occur (the button's click event) that triggers a method that calculates the average of the given values. See also: Data structure
The content above is only an excerpt.
for your institution. Subscribe
To learn more about subscribing to AccessScience, or to request a no-risk trial of this award-winning scientific reference for your institution, fill in your information and a member of our Sales Team will contact you as soon as possible.
to your librarian. Recommend
Let your librarian know about the award-winning gateway to the most trustworthy and accurate scientific information.
About AccessScience
AccessScience provides the most accurate and trustworthy scientific information available.
Recognized as an award-winning gateway to scientific knowledge, AccessScience is an amazing online resource that contains high-quality reference material written specifically for students. Contributors include more than 10,000 highly qualified scientists and 46 Nobel Prize winners.
MORE THAN 8700 articles covering all major scientific disciplines and encompassing the McGraw-Hill Encyclopedia of Science & Technology and McGraw-Hill Yearbook of Science & Technology
115,000-PLUS definitions from the McGraw-Hill Dictionary of Scientific and Technical Terms
3000 biographies of notable scientific figures
MORE THAN 19,000 downloadable images and animations illustrating key topics
ENGAGING VIDEOS highlighting the life and work of award-winning scientists
SUGGESTIONS FOR FURTHER STUDY and additional readings to guide students to deeper understanding and research
LINKS TO CITABLE LITERATURE help students expand their knowledge using primary sources of information