Explain the polymorphism principle?
No Answer is Posted For this Question
Be the First to Post Answer
What is the purpose of an interface?
Why do we use regex?
What is sortedmap in java?
Which java version is latest?
What is the purpose of a statement block?
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 alternate of 'Inheritance' ?
what is the meaning of java.lang and java.util
What is difference between wait and notify in java?
Explain JMS in detail.
What is "Java Native Interface" and how to use it?
What is meant by Static query and Dynamic query?