What is the lifecycle of an applet?
Answers were Sorted based on User's Feedback
Answer / m abhishek
following four methods in an applet's life:
public void init();//called once in an applet's life, when
the applet is first loaded.
public void start();//called at least once in an applet's
life, when the applet is started or restarted.
public void stop();//called at least once in an applet's
life, when the browser leaves the page in which the applet
is embedded.
public void destroy();//called once in an applet's life,just
before the browser unloads the applet.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / janet
All the above and also one more method is the part of
applet life cycle.
i.e Paint() method: can be called when the applet is
minimized or maximized.
Is This Answer Correct ? | 0 Yes | 1 No |
What is a class loader? What are the different class loaders used by jvm?
What happens when a thread cannot acquire a lock on an object?
What is multithread synchronizing ?
How primary key is implemented in Oracle?
Why does the option tag render selected=selected instead of just selected?
What is DTD?
Difference between sleep and suspend?
Does Java pass arguments by value or reference?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
What must a class do to implement an interface?
What are the different algorithms used for clustering?
What are the sequence of steps to write pub or sub model kind of application?