JSP MCQs

Q1) Which of the following is not a implicit object?

A – request

B – response

C – session

D – cookie

Answer: D

Q2) What is default value of isThreadSafe?

A – True

B – False

Answer: A

Q3) All servlet classes are required to be mapped and configured in web.xml.  

A – True

B – False

Answer: A

Q4) isErrorPage is by default true.

A – True

B – False

Answer: B

Q5) out is instance of which class?  

A – javax.servlet.jsp.PringWriter

B – javax.servlet.jsp.JspWriter

C – javax.servlet.Writer

D – javax.servlet.jsp.Writer

Answer: B

error: Content is protected !!