• Lessons Home
Topics
Community
  1. Lessons
  2. Object-Oriented Apex

      Object-Oriented Apex

      Design your own types: define classes, build objects with constructors, protect their data, and extend them with inheritance and interfaces

      Modules

      Classes and Objects

      Define your own classes, create objects from them with constructors, keep their data safe with encapsulation, and choose between instance and static members

      Progress
      32 min
      Explore

      Inheritance and Interfaces

      Build new classes on top of existing ones with extends, replace parent behavior with virtual and override, and write code that works with many types at once

      Progress
      32 min
      Explore

      Exceptions

      Handle errors with try and catch, learn the most common built-in exception types, build your own custom exceptions, and clean up safely with finally

      Progress
      32 min
      Explore