What is the lifecycle of an applet?

Answers were Sorted based on User's Feedback



What is the lifecycle of an applet?..

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

What is the lifecycle of an applet?..

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

Post New Answer

More Advanced Java Interview Questions

What are the disadvantages of using threads?

3 Answers   Oracle, SFS,


What is diffennce between AWT & SWING?

4 Answers  


Difference between DurableSubscription and non- DurableSubscription?

0 Answers  


How many requests can a server fetch at a time?

1 Answers  


What classes of exceptions may be caught by a catch clause?

0 Answers  






What is RRL?

1 Answers  


difference between sql exception class and sql warning class

1 Answers  


1) Scenario: I developed my application on local system and everything is perfect and tested. Now on UAT this application is deployed on clustered server environment. They are logical or physically clustered. But application is not working over there.  What is the issue with application?  What are the first things which come in your mind?

1 Answers   L&T,


Give me simple example of hibernate caching and explain the details of caching????? thanks in adv.

1 Answers  


what is Static binding?

2 Answers   Wipro,


Why a component architecture for the java platform?

0 Answers  


What is the priority of Garbage collector thread?

3 Answers  


Categories