Vidyalelo
Java Programming · Q29

Java Application Lifecycle and Annotations

Programming · Java Programming · question 29

Q29

What is the purpose of the `@Path` annotation in JAX-RS (Java API for RESTful Web Services) applications?

A.
To create JavaBeans
B.
To execute SQL queries
C.
To specify the base URI for a resource class or method
Answer
D.
To define JavaBean properties

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board