Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 3

Given the code fragment:

Which URL triggers the invocation of the getEmployee () method?

    Correct Answer: B

    The `@Path` annotation in the given code fragment specifies that the path must match the pattern "{id:[A-Z][0-9]+}". This means the URL must contain an 'id' value that starts with an uppercase letter followed by one or more digits. Therefore, the correct URL that triggers the invocation of the getEmployee() method is <base url>/Employees/J6349, making option B correct.

Discussion
WilsonKKerllOption: B

Answer is B.

peteVlnOption: B

No doubt: answer is B

orjavaOption: B

correct is B

YasinGaberOption: A

A is correct as per some other sites