What is a pointer and does java support pointers?
No Answer is Posted For this Question
Be the First to Post Answer
What are the types of methods in java?
what are the difference between Java and .Net?
In java, how we can disallow serialization of variables?
When is the finalize() called?
what is the difference between AWT and SWING what is the advantage of using swing?
What is hypertext?
What should I import for arraylist in java?
What is the meaning of course?
What is meant by bytecode?
How many types of variables are there?
What is the difference between throw and throws?
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.