What is the epoch date?
No Answer is Posted For this Question
Be the First to Post Answer
What is hashmap and map?
What is a pattern what is an anti pattern?
What is primitive array?
What is the argument in java?
What is a java string?
What are the features in java?
Can we create constructor in abstract class ?
What is the difference between serializable and externalizable interfaces?
Explain about abstract classes in java?
Why do we use bufferedreader?
can we Connect Applet to Data Base ? with Discriptiom. and also What is Diff. from Applet & Servlet?
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.