@RequestMapping(value = “/hospitals/{id}”, method = RequestMethod.GET) How to get the value of id in controller method?
Select the correct answer from below options:
a) @Variable(“id”)
b) @PathVariable(“id”)
c) None of the options
d) @RequestVariable(“id”)
@RequestMapping(“id�)