nerdexam
Salesforce

CRT-450 · Question #105

What writing an Apex class, a developer warts to make sure thai all functionality being developed Is handled as specified by the requirements. Which approach should the developer use to be sure that…

The correct answer is A. Create a test class to execute the business logic and run the test in the Developer Console. See the full explanation below for the reasoning.

Question

What writing an Apex class, a developer warts to make sure thai all functionality being developed Is handled as specified by the requirements. Which approach should the developer use to be sure that the Apex class is working according tospecification?

Options

  • ACreate a test class to execute the business logic and run the test in the Developer Console.
  • BInclude a savepoint and Database,rollback.
  • CInclude a try/catch block to the Apex class.
  • DRun the code in an Execute Anonymous block n the Deceloper Consider.

How the community answered

(38 responses)
  • A
    74% (28)
  • B
    5% (2)
  • C
    8% (3)
  • D
    13% (5)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice