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 |
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is the relationship between local interfaces and container-managed relationships?
What does module-relative mean?
What are the difference between RMI and CORBA?
What are the ways to define classes that can be run as threads?
what is stringBuffer and StringBuilder?
what we can't do in jdbc but can do hibernate?
what is difference between checked exception & unchecked exception in java?
What is the purpose of the finally clause of a try-catch-finally statement?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
what is the use of State Factories?
What restrictions are placed on the values of each case of a switch statement?