nerdexam
Salesforce

CRT-450 · Question #239

CRT-450 Question #239: Real Exam Question with Answer & Explanation

Sign in or unlock CRT-450 to reveal the answer and full explanation for question #239. The question stem and answer options stay visible for context.

Question

A developer wrote the following two classes: The StatusFetcher class successfully compiled and saved. However, the Calculator class has a compile time error. How should the developer fix this code?

Exhibit

CRT-450 question #239 exhibit

Options

  • AChange the class declaration for the statusFetcher class to public with inherited sharing.
  • BMake the isActive method in the StatusFetcher class public.
  • CMake the doCalculations method in the Calculation class private.
  • DChange the class declaration for the Calculator class to public with inherited sharing.

Unlock CRT-450 to see the answer

You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full CRT-450 Practice