Java Applet Programming Question:

Download Job Interview Questions and Answers PDF

What is the order of method invocation in an Applet?

Java Applet Interview Question
Java Applet Interview Question

Answer:

► public void init() : Initialization method called once by browser.
► public void start() : Method called after init() and contains code to start processing. If the user leaves the page and returns without killing the current browser session, the start () method is called without being preceded by init ().
► public void stop() : Stops all processing started by start (). Done if user moves off page.
► public void destroy() : Called if current browser session is being terminated. Frees all resources used by applet.

Download Java Applet Interview Questions And Answers PDF

Previous QuestionNext Question
In our URLs and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?What are the Applets Life Cycle methods? Explain them?