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 is activation monitor and what is its job?

1 Answers  


What is chat area? Explain.

0 Answers  


What is Remote Interface?

1 Answers  


What is RPC?

2 Answers  


Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.

2 Answers  






what's the main difference between unix os and linux os?

2 Answers   TCS,


What method is invoked to cause an object to begin executing as a separate thread?

0 Answers  


What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?

1 Answers  


does j2ee means advanced java

10 Answers  


what is Activation Instantinator?

0 Answers  


What is a sessionfactory? Is it a thread-safe object?

0 Answers  


how the mapping can be done from jsp to actionservlet?

2 Answers   SolutionNET,


Categories