what is polymorphism?

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


Please Help Members By Posting Answers For Below Questions

Why is the main method declared static?

588


Which java ide is used the most?

507


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.

1590


What is the difference between the file and randomaccessfile classes?

534


What is the difference between a scrollbar and a scrollpane?

563






Can we override protected method in java?

580


Which command from the jdk compiles a java program?

489


What is meant by object oriented programming – oop?

543


What is the difference between length and length() method in java?

647


What is charat java?

542


What is numeric function?

542


How does compareto work in java?

577


Explain the scope of a variable.

636


what is the difference between thread and runnable types? : Java thread

548


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

516