Delphi supports full object-oriented programming (OOP). In OOP, the most fundamental entity is an object. An object is characterized by its state (implemented by data) and what sort of capabilities it has (functionality). For example, a computer can be described as an object in a particular state (e.g., available memory, screen resolution, computational power, etc.) being able to provide several functions (e.g., connect to the Internet, edit a text file, convert an image, etc.). In the rest of the chapter, we look at the fundamentals of OOP in Delphi.
5. Object-Oriented Programming (OOP)
Get Delphi Quick Syntax Reference: A Pocket Guide to the Delphi and Object Pascal Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.