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 / sitaram

in java, we can access any class, first JVM search the any
type(with or with out parameters) constructor. if it their
the same constructor will be calling other wise JVM create
the default constructor for that class.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the current httpsession object?

1123


What are the types of an http request?

1158


What are the functions of an intercepting filter?

950


Difference between httpservlet and generic servlets?

1110


Explain the servlet context.

1150


Describe the phases of servlet lifecycle?

1071


List some life cycle methods of a servlet.

1068


Can you call a jsp from the servlet?

1023


When servlet is loaded?

1080


What is new in ServletRequest interface ? (Servlet 2.4)

1016


What are the phases of servlet life cycle?

1115


How to handle exceptions thrown by application with another servlet?

1091


What is servlet and its life cycle?

1122


How forward () method is different from send redirect () method?

970


Explain the concept of ssi ?

1071