What is the importance of static variable?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Is null a keyword in java?
what do you mean by marker interface in java?
What is protected and friendly?
Give example to differentiate between call by value and call by reference.
difference between arraylist and linkedlist otherthan performance
What is ascii code?
What is low level language in computer?
When throw keyword is used?
Difference between static synchronization vs. Instance synchronization?
What is JVM and is it platform independent?
What is inner class?what is the use of inner class?where we create the object for inner class? and inner class can extend any class or inner class can implement any interface?