0
What is polymorphism and how do you go about it
Up to know I have no idea what polymorphism is and how to do it, but I have understood inheritance pretty nice.
5 Answers
+ 2
Thank u guys for ur helpš
+ 1
Omar Juma
The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more than one form. Real life example of polymorphism: A person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee.
https://www.geeksforgeeks.org/polymorphism-in-java/
+ 1
Welcome
Omar Juma
0
https://www.tutorialspoint.com/java/java_polymorphism.htm#:~:text=Polymorphism%20is%20the%20ability%20of,is%20considered%20to%20be%20polymorphic.
//Go through this to know about polymorphism
0
It's kinda like, different behaviours in different situations.. i.e., Polymorphism allows you to perform single action in different ways (or) it allows us to define one interface and have multiple implementations.