object-oriented programming: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: object-oriented programming
| Old | New | Line | |
|---|---|---|---|
| 1 | + | An object-oriented programming (OOP) is a programming method to write programs using "object" to represent data and [[Method|methods]]. The object can, upon request, perform the functions that are known as methods. The object stores data in its internal [[Variable|variables]]. The [[Class|class]] defines the common features of certain objects. | |
| 2 | + | ||
| 3 | + | The inheritance allows you to make new class definitions based on old definitions (see more about using the [[Reserved word|reserved word]] [[Inherited|inherited]]). A [[Constructor|constructor]] is a method called object creation. A [[Destructor|destructor]] is called when the object is destroyed. | |
| 4 | + | ||
| 5 | + | --- | |
| 6 | + | *From the Free Pascal wiki, page "object-oriented programming", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
