Home »
MCQs »
Swagger MCQs
Which of the following annotation is used for mapping requests to specific handler classes or methods?
30. Which of the following annotation is used for mapping requests to specific handler classes or methods?
- @RequestPath
- @RequestMethod
- @RequestDict
- @RequestMapping
Answer: D) @RequestMapping
Explanation:
@RequestMapping annotation is used for mapping requests to specific handler classes or methods.