Computer Applications
Define Polymorphism.
OOP Intro Java
32 Likes
Answer
In object-oriented programming, Polymorphism provides the means to perform a single action in multiple different ways. Taking the real world example of animals, if we ask different animals to speak, they respond in their own way. Dog barks, duck quacks, cat says meow and so on. So the same action of speaking is performed in different ways by different animals.
Answered By
21 Likes
Related Questions
Which of the following is not true for Encapsulation?
- Data and functions are loosely attached.
- Data and functions are wrapped together.
- Data is secured from getting mishandled.
- None of them.
PASCAL is a structure oriented programming language.
Name the feature of Java depicted in the below picture.
- Encapsulation
- Inheritance
- Data Abstraction
- Polymorphism
Which of the following can flow freely in Procedure Oriented Programming languages ?
- function
- data
- statement
- instruction