Vidyalelo
Java Programming · Q4

Java Application Lifecycle and Annotations

Programming · Java Programming · question 4

Q4

In Java EE applications, what is the purpose of the `@Resource` annotation?

A.
To execute SQL queries
B.
To specify a resource to be injected into a component
Answer
C.
To create JavaBeans
D.
None of These

Answer: Option B

Solution

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