Vidyalelo
Java Programming · Q2

Java Application Lifecycle and Annotations

Programming · Java Programming · question 2

Q2

In a Java web application, what is the role of the `ServletContext` object?

A.
It creates JavaBeans
B.
It executes SQL queries
C.
It defines JavaBean properties
D.
It provides access to application-wide information and resources
Answer

Answer: Option D

Solution

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