What is the correct...
 
Notifications
Clear all

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

1 Posts
1 Users
0 Likes
57 Views
Arden
(@boehnkearden)
Noble Member
Joined: 6 months ago
Posts: 337
Topic starter  

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

Show Answer Hide Answer

Suggested Answer: A,C

   
Quote
Share: