S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation can be used to create RESTful web services easily?

  • (A) @RestController
  • (B) @WebService
  • (C) @Api
  • (D) @SpringEndpoint
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@RestController combines @Controller and @ResponseBody for REST APIs.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.