Apex provides the
keywords final, instanceof, super, this, transient, with sharing and without sharing.
-
Using the final Keyword
-
Using the instanceof Keyword
-
Using the super Keyword
-
Using the this Keyword
-
Using the transient Keyword
-
Use the with sharing, without sharing, and inherited sharing Keywords
Use the with sharing or without sharing keywords on a class to specify whether sharing rules are enforced. Use the inherited sharing keyword on a class to run the class in the sharing mode of the calling class. The default sharing mode is with sharing.