Answer Posted / kartheeswari
Allows many methods with same name and with different
argument list, order,type to do the closely related task.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Why is the main method declared static?
Which java ide is used the most?
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 the file and randomaccessfile classes?
What is the difference between a scrollbar and a scrollpane?
Can we override protected method in java?
Which command from the jdk compiles a java program?
What is meant by object oriented programming – oop?
What is the difference between length and length() method in java?
What is charat java?
What is numeric function?
How does compareto work in java?
Explain the scope of a variable.
what is the difference between thread and runnable types? : Java thread
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?