Exam4Training

What to do now?

A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data.

What to do now?
A . The method must be decorated with (cacheable=true).
B . The method must be decorated with @AuraEnabled.
C . The method must return a JSON Object.
D . The method must return a String of a serialized JSON Array.

Answer: A

Latest PDI Dumps Valid Version with 191 Q&As

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

Exit mobile version