Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on Salesforce servers along with calls to the API (Application Programming Interface). Apex syntax looks like Java and acts like database stored procedures. Apex allows developers to add business logic to most system events, including button clicks,…