Apex Trigger Practice (1) – Update Account Open Case Status

Question Hints: Account is parent object of Case. Case’s status field is categorized into two types – Open or closed which can be tracked by field “IsClosed”. Requirement: On Account, there is a checkbox field “Has Open Case”, if there is any open Case under account, this field should be checked. Please make sure all …

Apex Trigger Practice (1) – Update Account Open Case Status Read More »

Differences Between Apex Classes and Java Classes

Inner classes and interfaces can only be declared one level deep inside an outer class. Static methods and variables can only be declared in a top-level class definition, not in an inner class. An inner class behaves like a static Java inner class, but doesn’t require the static keyword. An inner class can have instance member variables …

Differences Between Apex Classes and Java Classes Read More »