What is the correct syntax to declare a remote method in Apex?

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.)
A . @RemoteAction global static String getTable()
B . @RemoteAction global String getTable()
C . @RemoteAction public static String getTable()
D . @RemoteObject global static String getTableQ

Answer: A,C

Latest PDII Practice Questions with 280 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments