Hi L Goundalkar,
We all have noticed the case in an
Applet's life cycle that init() is called first and only once as like as servlet's init() is. The reason is historical....at the early
java ages, constructors were not permitted to be overloaded. So if programmers needed to conveniently use the initial configuration of a servlet or applet object, they were given the provision of init(). Though after that, constructor overloading was allowed but init() was already a
string practice all over the industry which SUN might have considered not to disturb. You will a few information on this from Jason Hunter's classic book "Java Servlet Programming".
Are you preparing for
SCEA OR scwcd EXAM?