Broadcom-VMware
2V0-72.22 · Question #50
Refer to the exhibit. Which option is a valid way to retrieve the account id? (Choose the best answer.)
The correct answer is A. Add @PathVariable("id") String accountId argument to the update() handler method. See the full explanation below for the reasoning.
Question
Refer to the exhibit. Which option is a valid way to retrieve the account id? (Choose the best answer.)
Options
- AAdd @PathVariable("id") String accountId argument to the update() handler method.
- BAdd @PathVariable long accountId argument to the update() handler method.
- CAdd @RequestParam long accountId argument to the update() handler method.
- DAdd @RequestParam("id") String accountId argument to the update() handler method.
How the community answered
(36 responses)- A81% (29)
- B3% (1)
- C6% (2)
- D11% (4)
Community Discussion
No community discussion yet for this question.