Hi..Friends.Recently in an interview..recruiter asked me a question..both httpservletrequest and httpservletresponse are interfaces....then how a container creates objects for that interfaces...? friends....can u clarify me?

Showing Answers 1 - 1 of 1 Answers

Naga

  • Aug 3rd, 2006
 

I don't think we will ever do x = new HttpservletRequest(); Which is really creating an object.We just use a reference variable of type HttpServletRequest and Response.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions