aspose file tools*
The moose likes Servlets and the fly likes Servlet constructor can't be overloaded ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Servlet constructor can't be overloaded ?

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Servlets have constructor(provided my compiler), however you should NOT write a constructor; just use the compiler-supplied default. Why are we not allowed to provide our own constructor ??
James Tharakan
Ranch Hand

Joined: Aug 29, 2008
Posts: 580

I think the following threads will answer your question.
Thread1
Thread2


SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet constructor can't be overloaded ?
 
Similar Threads
Implicitly given access modifier
Overloading constructors.
question
Exam Cram Sheet- no arg constructors
Superclass Constructor calling from subclass