1.

“out” is implicit object of which class?(a) javax.servlet.jsp.PrintWriter(b) javax.servlet.jsp.SessionWriter(c) javax.servlet.jsp.SessionPrinter(d) javax.servlet.jsp.JspWriterI have been asked this question in a job interview.Asked question is from JSP Elements in chapter Session Management, JSP & API of Java

Answer»

The correct choice is (d) javax.servlet.jsp.JspWriter

Explanation: JspWriter OBJECT is referenced by the IMPLICIT variable out which is INITIALIZED AUTOMATICALLY using methods in the PageContext object.



Discussion

No Comment Found

Related InterviewSolutions