Loading tutorials
List and Map, and know that Apex code runs inside Salesforce transactions. It also assumes you know what a class declaration looks like. The chapter covers instance members, the fields and methods that belong to each object you create.2 min readthis refers to.3 min readfinal works on its own, how static final creates a true constant, and the mistakes that trip people up.2 min readstatic final creates a constant. Here you will see how an initialization block runs setup code, and when it runs.2 min readpublic and private. It also assumes you have seen interfaces. Here you will build a class hierarchy, where one class reuses and customizes another.2 min readvirtual and override mean. Here the focus is on what you gain by writing code that depends on the interface type instead of a concrete class.2 min readimplements works, and that you are comfortable with List and casting. It covers one system interface, Comparable, and shows how it controls the order of custom objects.2 min readvirtual and abstract classes, and override. Here you learn how to pick among them.3 min read