Answer Posted / yashwant
init() func is not only used in applets but it also used in
Servlet to initialized Servlet Program(Configured Servlet)
init()Called only once during the initialization of the Servlet.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is merge sort in java?
What are register variables what are the advantages?
What do you mean by inner class in java? Explain
What is try-with-resources in java?
What is the SimpleTimeZone class?
What is a literal coding?
What are the differences between string, stringbuffer and stringbuilder?
How do you check if a number is a perfect square?
What is a subsequence of a string?
What do you mean by stack?
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
What are the supported platforms by java programming language?
If a method is declared as protected, where may the method be accessed in java programming?
How do I write a self declaration?
Define max and min heap, also the search time of heap.