Question 31

A developer has the controller class below.

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

    In order to override a standard action with a visualforce page, which attribute must be defined in the <apex:page> tag?
  • Question 33

    How should a developer create a new custom exception class?
  • Question 34

    Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );
  • Question 35

    A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of the new Apex helper class.
    Change Set deployment to production fails with the test coverage warning:
    "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required." What should the developer do to successfully deploy the new Apex trigger and helper class?