Why do we declare a class static?
No Answer is Posted For this Question
Be the First to Post Answer
What are Brief Access Specifiers and Types of Access Specifiers?
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 the difference between sop and work instruction?
WAP to illustrate the use of interface
If circular link of two objects, then will it be garbage collected ?
What are operators and its types?
What are runtime exceptions?
What is the use of System class?
Difference between Applet & Application?
What is a void method?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What is unicode in java?