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

does j2ee means advanced java

10 Answers  


What is ioc concept?

1 Answers  


What is the difference between RMI and Socket?

2 Answers  


Why is main purpose of XML?

5 Answers  


wahts is mean by dynavalidatorform in struts/

1 Answers   SolutionNET,


Name the method to find, if a thread is active or not?

2 Answers  


What is the relationship between local interfaces and container-managed relationships?

1 Answers  


What is abstract schema?

1 Answers  


iam writing the contents to a excel through I/O i am putting first statement as WRITE and then READ(from excel) immediately..later user complains that he is not getting the date by using READ ..wat could be the situation

3 Answers   iGate,


What are callback interfaces?

1 Answers  


what is Bootstrap loader program?

1 Answers   Rossell Techsys,


what are memory considerations of jsp compares to other web components?

1 Answers   TCS,


Categories