A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Servlet constructor can't be overloaded ?
jose chiramal
Ranch Hand
Joined: Feb 12, 2010
Posts: 266
posted
Mar 22, 2010 00:26:07
0
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 like...
posted
Mar 22, 2010 00:32:33
0
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://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Servlet constructor can't be overloaded ?
Similar Threads
Superclass Constructor calling from subclass
question
Overloading constructors.
Exam Cram Sheet- no arg constructors
Implicitly given access modifier
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter