←Go Back to Online Practice Test
Ques. In the init(ServletConfig) method of Servlet life cycle, what method can be used to access the ServletConfig object?
Option 1. getServletInfo()
Option 2. getServletConfig()
Ans. Option 2
Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website.
Enter Reason
 
Is it helpful? Yes No