What are the two ways to create a thread?
No Answer is Posted For this Question
Be the First to Post Answer
What is a parent class in java?
Can java list contain duplicates?
Which is easier netbeans or eclipse?
Can we override compareto method?
Can you extend main method in java?
What is extension method in java?
When should we create our own custom exception classes?
What is meant by object oriented programming – oop?
Why generics are used in java?
what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?
where do you place after you did code in java
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.