Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we write a constructor for a Servlet class ? if yes how ?
if no why not ?

Answer Posted / ravi

No..not at all,,,,servlet is a class which is dynamically
loaded...dynamically loaded class never requires
constructors.

Is This Answer Correct ?    8 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain load on start-up and its importance?

1067


Should I override the service() method?

1039


Can we override destroy method in servlet?

935


Which interface must be implemented by all servlets?

1284


What are the different methods of session management in servlets?

940


What is the use of request dispatcher interface?

959


What are the life cycle methods of a servlet?

986


How do you configure a centralized error handler in servlets?

1027


What’s the difference between genericservlet and httpservlet?

1018


What is a cookie What is the difference between session and cookie

1012


Why HttpServlet class is declared abstract?

1126


What is the default http method in the servlet?

1234


What is servlet and its advantages?

992


What do you mean by cgi in servlet?

1023


What are the steps that are required to handle the multi-threading?

1044