Explain the concept of polymorphism with examples?
Answer Posted / sankar
polymorphism helps us create classes which are simple and
user friendly.it allow the class to behave polymorphicly
when different inputs are passed on to it.
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
Why string is called as immutable?
What is static import in java?
Why we use set in java?
What will be the initial value of an object reference which is defined as an instance variable?
What is a ternary operator in java?
How does multithreading take place on a computer with a single cpu in java programming?
What is the difference between throw and throws keywords?
Can a main method be declared final?
Explain hashset and its features?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is the difference between an interface and an abstract class?
What are the four corner stones of oop?
What is off heap memory?
Is arraylist an object in java?
Explain about the main() method in java?