Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

object-oriented programming

English · Esperanto · Polski · Suomi

An object-oriented programming (OOP) is a programming method to write programs using "object" to represent data and methods. The object can, upon request, perform the functions that are known as methods. The object stores data in its internal variables. The class defines the common features of certain objects.

The inheritance allows you to make new class definitions based on old definitions (see more about using the reserved word inherited). A constructor is a method called object creation. A destructor is called when the object is destroyed.


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.

Revision 1, last changed by WikiArchive .