Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. No, it's optional as the name of path param required is same as method param name in this case. Even the declaration as following should work - @Path("/{employeeId}") public String employeeInfo(@PathParam Long employeeId){ } | ||||
![]() | ||||
![]() ![]() ![]() | ||||
![]() | ||||
![]() | ||||
![]() | ||||