A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Servlet constructor can't be overloaded ?
Joined: Feb 12, 2010
Mar 22, 2010 00:26:07
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 ??
Joined: Aug 29, 2008
Mar 22, 2010 00:32:33
I think the following threads will answer your question.
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
rocket mass heater
subject: Servlet constructor can't be overloaded ?
Superclass Constructor calling from subclass
Exam Cram Sheet- no arg constructors
Implicitly given access modifier
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014