Exit PDII Salesforce Certified Platform Developer II (Plat-Dev-301)
Question 4 of 5
0% complete
Q4 Multiple choice

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.)

Select all that apply.

  • A

    @RemoteAction global static String getTable()

  • B

    @RemoteAction global String getTable()

  • C

    @RemoteAction public static String getTable()

  • D

    @RemoteObject global static String getTable()