S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which of the following annotations is used for path variable binding?

  • (A) @Path
  • (B) @Param
  • (C) @PathVariable
  • (D) @RouteParam
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@PathVariable binds a method parameter to a URI template variable.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.