List of questions
Related questions
Question 342 - Certified Platform Developer II discussion
A developer created a Lightning web component for the Account record page that displays the five most recently contacted Contacts for an Account. The Apex method, getRecentContacts, returns a list of Contacts and will be wired to a property in the component.
Which two lines must change in the above ode to make the Apex method able to be wired?
Choose 2 answers
A.
Add AuraEnanled(cacheabletrue) to the line 08
B.
Remove private from line 09.
C.
Add @AuraEnabled (cacheabletrue) to line 03.
D.
Add public to line 04.
Your answer:
0 comments
Sorted by
Leave a comment first