Which option is a valid way to retrieve the account id? (Choose the best answer.)
A. Add @PathVariable(“id”) String accountId argument to the update() handler method.
B. Add @PathVariable long accounted argument to the update() handler method.
C. Add @RequestParam long accounted argument to the update() handler method.
D. Add @RequestParam(“id”) String accountId argument to the update() handler method.
Answer:A
Which option is a valid way to retrieve the account id? (Choose the best answer.)
A. Add @PathVariable(“id”) String accountId argument to the update() handler method. B. Add @PathVariable long accounted argument to the update() handler method. C. Add @RequestParam long accounted argument to the update() handler method. D. Add @RequestParam(“id”) String accountId argument to the update() handler method.