+ 5

What is polymorphism

2nd Nov 2017, 2:09 PM
Programmer Raja
Programmer Raja - avatar
8 Respostas
+ 13
Transforms the enemy into a sheep, wandering around incapacitated for 50 sec. While affected, the victim cannot take actions but will regenerate health very quickly. Damage will cancel the effect. Limit 1. Only works on Beasts, Humanoids and Critters. :)
2nd Nov 2017, 2:15 PM
AgentSmith
+ 8
@Jamie lolol I knew someone would appreciate that joke. :D I couldn't help it.
2nd Nov 2017, 2:23 PM
AgentSmith
+ 2
it datahiding samilar to abstraction it mostly used for writing secured code
2nd Nov 2017, 9:44 PM
GeneralZod
GeneralZod - avatar
+ 2
or any oop language eg private int password=5 not letting any thing outside of the class access pasword because someone can try extends your class and automatically inherit every thing on the class and get the password and mess with it if it not private
2nd Nov 2017, 9:48 PM
GeneralZod
GeneralZod - avatar
+ 1
Polymorphism is a OOPs concept where one name can have many forms. For example, you have a smartphone for communication. The communication mode you choose could be anything. It can be a call, a text message, a picture message, mail, etc. So, the goal is common that is communication, but their approach is different. This is called Polymorphism.
23rd Jun 2018, 8:39 PM
Pravin Yadav
Pravin Yadav - avatar