Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

we can use constructor to initialize the parameters

 
swatione chowdary
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we can use constructor to initialize the parameters in a servlet with out using the init() method, what problem we get if we do like that.

can any one please reply me.

thank u , swati.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic