Question 71

A developer has the controller class below.

Which code block will run successfully in an execute anonymous window?
  • Question 72

    What is the data type returned by the following SOSL search?
    [FIND 'Acme*' IN NAME FIELDS RETURNING Account, Opportunity];
  • Question 73

    Which is a valid apex assignment?
  • Question 74

    A developer has an integer variable called maxAttempts. The developer needs to ensure that once maxAttempts is initialized, it preserves its value for the length of the Apex transaction; while being able to share the variable's state between trigger executions.
    How should the developer declare maxAttempts to meet these requirements?
  • Question 75

    Which exception type cannot be caught?