Salesforce
PDII · Question #71
PDII Question #71: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #71. The question stem and answer options stay visible for context.
Question
A developer has created a Visualforce page that uses a third-party JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers. What is the correct syntax to declare a remote method in Apex? (Choose two.)
Options
- A@RemoteAction global static String getTable()
- B@RemoteAction global String getTable()
- C@RemoteAction public static String getTable()
- D@RemoteObject global static String getTable()
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII 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.