Object-Oriented Apex

Apex is an object-oriented language. This subsection describes Apex in terms of five standard characteristics of object-oriented languages, summarized here:

Image Encapsulation—Encapsulation combines the behavior and internal state of a program into a single logical unit.

Image Information hiding—To minimize tight coupling between units of a program, information hiding limits external visibility into the behavior and state of a unit.

Image

Get Development with the Force.com Platform: Building Business Applications in the Cloud, Third Edition 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.