Notes on this article.
You must declare every variable with a data type in Apex.
Salesforce Object Query Language. These statements are used to ‘query’ or return certain data stored in Salesforce.
This is used to perform a certain action iteratively until a specified point. For example to loop through a list so the program can perform an action on each item.
Flow Control Statement
Determines whether or not certain code should be run.
Performs insert, update, upsert and delete operations on records in the database.