What is hashmap and map?
No Answer is Posted For this Question
Be the First to Post Answer
Explain try and catch keywords in java?
What is loop in java?
What is the association?
How to provide security in java
0 Answers Infosys, TCS, Tech Mahindra,
Can an interface extend a class?
Why java is a platform independent? Explain
What are the properties of thread?
Will set allow duplicates in java?
What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?
What is a class reference?
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 is System class and its purpose?