Chapter 10: Object-Oriented Programming


Overview

Object-oriented programming (OOP) is a programming style based on objects rather than on procedures and functions. It is the natural upgrade of the structured programming style we used in the previous chapters.

In structured programming, you have to think about procedures and functions that solve a particular problem. In object-oriented programming, you think in terms of objects — self-contained boxes that contain both data and code that operates on object data.

This chapter gives you an overview of object-oriented programming and explains the following core terms related to it: class, object, encapsulation, inheritance, and polymorphism.



Inside Delphi 2006
Inside Delphi 2006 (Wordware Delphi Developers Library)
ISBN: 1598220039
EAN: 2147483647
Year: 2004
Pages: 212
Authors: Ivan Hladni

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net