A

Arogya • 3.49K Points
Extraordinary

Q. Which annotation passes a variable in URL path?

  • (A) @PathVariable
  • (B) @RequestBody
  • (C) @Bean
  • (D) @Value
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Fiegn Client
  • Hashtags:

Explanation by: Arogya

@PathVariable is used to pass dynamic values in REST endpoint URLs.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.