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 constructors in Servlet?

Answer Posted / sitaram

Each every class execute in java. One default constructor or
define constructor must be calling. If you are not any
constructor write in your class. when execute the program ,
JVM automatically create the default constructor.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you pass parameters in RMI? Why do you serialize?

1231


What is the purpose of the notifyall() method?

1041


Is the session factory thread safe?

1171


Can I run seam outside of jboss as?

1073


Explain the advantages and disadvantages of detached objects.

1018


what is a portable component?

2004


What if the static modifier is removed from the signature of the main method?

1236


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

2217


Are we allowed to change the transaction isolation property in middle of a transaction?

1028


What is a modular application?

1076


What are the purpose of introspection?

1215


What is a class loader? What are the different class loaders used by jvm?

1103


Do we need to override service() method

1722


What is the relationship between the canvas class and the graphics class?

1040


What happens when a thread cannot acquire a lock on an object?

1033