The notion of polymorphism refers to what counts or can adopt multiple ways . The term also mentions a property capable of crossing numerous state .
The etymological origin of this term is found in the Greek. And it is that it is made up of three components of said language, such as the following:
-The prefix "poly-", which can be translated as "many".
-The noun "morpho", which is equivalent to "forms."
-The suffix "-ismo", which means "activity".
It is possible to find this concept in different areas. In the sector of the chemistry , polymorphism names the compounds and elements capable of adopting different forms without changing their natural structure.
For the biochemistry Polymorphism is a phenomenon that arises when proteins and nucleic acids can appear with different molecular forms. Talk about genetic polymorphism to name the existence of different alleles of the same gen , which implies changes in the genetic sequence among members of a certain population.
There are species that are characterized by polymorphism because their members exhibit different forms for some reason. A typical example of this biological polymorphism occurs with butterflies that, before reaching adulthood, develop as caterpillars .
Polymorphism, therefore, within the scope of Biology we can say that it can occur for different reasons. In some cases, it is because within the same species there are castes, as would be the case of bees, where we find the queen bee and the drones, for example.
In other cases, this phenomenon is simply as a cause of the different stages through which the species passes in general and the animal in particular. That is a perfect example, the one of the caterpillar that, as it evolves, finally becomes a butterfly.
In the computing , polymorphism is one of the properties of virus which, to avoid being detected by the security software, can fragment certain fragments of your code. Thanks to an algorithm, the virus can modify parts of the code, which makes its presence very difficult to notice by an antivirus program.
Within the computer field, we would have to say that there are two main types of polymorphisms:
-Parametric. It is also called dynamic and it is the one that is characterized because the code does not have any type of detail or characteristic about the data with which it works.
-Static. This other type is also called ad hoc and is defined as the one in which the data with which it is to be operated must be explicit and in addition to a specific and specific, individualized way we can say.
Computer programmers can also appeal to polymorphism in so-called object-oriented programming. In this case, polymorphism allows the same message be sent to objects of a very diverse nature, but all of them capable of providing an answer.