Object-Oriented Programming (OOP)

Any language that supports the following four pillars of Object-Oriented Programming is known as an Object-Oriented Programming (OOP) language:

  • Inheritance: This is the ability to extend an existing class to add a new functionality
  • Polymorphism: This is the ability to perform different actions by calling the same method
  • Abstraction: This is the ability to hide complex implementation
  • Encapsulation: This is the ability to bind data attributes and behavior together

Get Apex Design Patterns 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.