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 define constructor in Servlet class?

Answer Posted / komal singh adhikari

YES,
we can initialized the default constructor.

but we cannot call the parameterized one.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between servlet and jsp?

1121


Which event is fired at the time of setting, getting or removing attribute from application scope?

1141


Can we override servlet service method?

1101


Tell us something about servletcontext interface.

1092


How native code can be used in a servlet?

4069


What is the workflow of a servlet?

1181


Why is Servlet so popular?

1074


What is meant by servlet? What are the parameters of the service method?

1032


How do you design microservices?

1085


What are the uses of servlet and what is servlet chaining?

1095


What is the dispatcher servlet?

986


What is a web application and what is it’s directory structure?

1081


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1070


Why servlet is mostly used?

1246


What's the servlet interface?

1084