This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
init() is the constructor for the applet
Posted by CHEIKH FALL on June 12, 2001 at 6:53 AM
> Hello friends, > I am having a small doubt, why we need init() method to initialize applets & servlets although we can do the same through constructors. > thanx > saddy I am not a java guru but here's my opinion. init() like start() and stop() are standardized methods to help browser know how to initialize, start and stop a applet. This way ease the browser life.
Replies:
|