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...


When we don't write any constructor for the servlet, how
does container create an instance of servlet?

Answers were Sorted based on User's Feedback



When we don't write any constructor for the servlet, how does container create an instance of ..

Answer / mahesh

Container creates instance of servlet by calling
Class.forName(className).newInstance().

Is This Answer Correct ?    15 Yes 0 No

When we don't write any constructor for the servlet, how does container create an instance of ..

Answer / sk.jani

In the Servlet if we are not using any constructor
internally the compiler create the default Constructor.if u
want to see that default Constructor user this folling
command.

javap classname.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Servlets Interview Questions

What is the difference between servlet and jsp?

0 Answers  


What are the life cycle methods of a servlet?

0 Answers  


what are the way a client can be tracked?

3 Answers   ABC, IBM,


What do you mean by deployment descriptor?

0 Answers  


What are the types of an http request?

0 Answers  


How printwriter is different from servletoutputstream?

0 Answers  


Difference between web container & web server........... Difference between web server & application server?????????

8 Answers   TCS,


How do I support both get and post from the same servlet?

0 Answers  


If you want to modify the servlet,will the Webserver need to be ShutDown ?

9 Answers  


How do you track a user session in servlets?

3 Answers  


How the servlet is loaded?

0 Answers  


What is generic servlet class?

0 Answers  


Categories