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

Why servlet is mostly used?

0 Answers  


how to make the IP address to .com

1 Answers   iGate,


How multiple simultaneous requests can be handled by servlets?

2 Answers  


What is forward() and include() of servlets RequestDispatcher interface?

6 Answers   HCL,


what happens if we wont use destroy()?

4 Answers   IBM,


can u give some realtime example in ploymorphism? and inheritance?

11 Answers   SolutionNET,


What are different types of SessionTracking?

2 Answers  


How do we share data using 'getservletcontext ()?

0 Answers  


Why do we need servlet filter?

0 Answers  


How to generate the server side programming and the advantages of it over the other languages?

0 Answers  


How to make servlet thread safe?

9 Answers   Frisco Tech, InfoVista, WipSys Technologies,


when the several requests comes to server..how it manage the requests

4 Answers   iGate,


Categories