Polymorphism supports which is several methods with the same name but different arguments
Show what is difference between overloading and overriding?
loadAnswer Other Related Discussions
Didn't get the answer. Which methods can be used for polymorphism?You can perform Polymorphism in Java via two different methods: Method Overloading. Method Overriding.
What is polymorphism and why we need same name method?Polymorphism is considered one of the important features of Object-Oriented Programming. Polymorphism allows us to perform a single action in different ways. In other words, polymorphism allows you to define one interface and have multiple implementations.
Which of the following is are true about polymorphism?Which among the following best describes polymorphism? Explanation: It is actually the ability for a message / data to be processed in more than one form. The word polymorphism indicates many-forms. So if a single entity takes more than one form, it is known as polymorphism.
What is polymorphism What are the different ways to implement polymorphism?So polymorphism means many forms. There are two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism. We can perform polymorphism in java by method overloading and method overriding. If you overload a static method in Java, it is the example of compile time polymorphism.
|