Oracle
1Z0-897 · Question #116
1Z0-897 Question #116: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-897 to reveal the answer and full explanation for question #116. The question stem and answer options stay visible for context.
Question
Given the class: Choose the option that describes what would happen if this class were deployed (Choose one):
Options
- AAny HTTP GET or POST request with the URL "/resource" would result in a call to getName().
- BAny HTTP GET or POST request with URLs that begin with "/resource" would result in a call to getName().
- CA runtime error would result, since a method cannot be responsible for both GET and POST requests.
- DA compile error would result, since a method cannot be responsible for both GET and POST requests.
Unlock 1Z0-897 to see the answer
You've previewed enough free 1Z0-897 questions. Unlock 1Z0-897 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.