How should a developer create a new custom exception class?
Correct Answer:
A
A developer has a unit test that is failing. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous Apex Tool. The code then executes without failing. Why did the unit test failed, but not the Execute Anonymous?
Correct Answer:
B
A lead object has a custom field Prior_Email c. The following trigger is intended to copy the current Email into the Prior_Email c field any time the Email field is changed:
Which type of exception will this trigger cause?
Correct Answer:
C
Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );
Correct Answer:
A
What are two correct examples of the model in the salesforce MVC architecture? Choose 2 answers.
Correct Answer:
BC