This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
You can, but there would be little point since it would not be called by the container when loading the Servlet, and in doing so you may prevent the no-arg constructor from being called and stop the Servlet from being initialised at all.
The short answer is: not in any meaningful sense, no.
Joined: Dec 06, 2005
recently this question was asked in two interviews. how can i convince them by saying no. [ February 19, 2006: Message edited by: rehans oberoi ]