Abstract:
La programación orientada a objetos tiene cuatro pilares fundamentales que le dan sustento a su lógica, estos son: la abstracción que es la que permite identificar las características de un objeto; el encapsulamiento que oculta la complejidad del código; la herencia cuya función es la reutilización del código y el polimorfismo. En la siguiente lectura se estudiará al termino de polimorfismo orientado a la programación de software, el cual representa la capacidad que tienen los objetos dentro de una misma clase de cambiar o mutar según su entorno y necesidad, haciendo posible definir varios métodos o comportamientos de un objeto bajo un mismo nombre. Además, se ahondará en conceptos importantes como jerarquía, Class, interfaz, instanceof, java reflection, el fin es dar un mayor sustento y robustez a la utilización de este pilar fundamental llamado polimorfismo.
Description:
Object-oriented programming has four fundamental pillars that support its logic: abstraction, which is what allows identifying the characteristics of an object; encapsulation, which hides the complexity of the code; inheritance, whose function is the reuse of the code; and polymorphism. In the following reading we will study the term polymorphism oriented to software programming, which represents the ability of objects within the same class to change or mutate according to their environment and need, making it possible to define several methods or behaviors of an object under the same name. In addition, important concepts such as hierarchy, Class, interface, instanceof, java reflection, will be discussed, in order to give more support and robustness to the use of this fundamental pillar called polymorphism.