Exam4Training

How should the developer fix this code?

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?
A . Change the class declaration for the statusFetcher class to public with inherited sharing.
B . Make the is Active method in the StatusFetcher class public.
C . Make the doCalculations method in the Calculation class private.
D . Change the class declaration for the Calculator class to public with inherited sharing.

Answer: B

Latest PDI Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version