(Choose 1 answer)
Consider the Servlet definition in a web.xml file below.
<web-app>
<servlet>
(see picture)
What will the following line of code return if present in the init() method of TestServlet?getInitParameter(1):
A. It will return "eastern".
B. It will return null.
C. Runtime error.
<servlet-class>com.abc.TestServlet</servlet-class>
<init-param>
<servlet-name>TestServlet</servlet-name>
<param-name>locale</param-name>
<param-value>US</param-value>
<init-param>
<init-param>
<param-name>timezone</param-name><param-value>eastern</param-value>
<init-param>
</servlet>
D. Compilation error.
</web-app>
E. It will return "US".
Exit 13