8
The following question fell in IFSP’s tender procedure:
In Java and C++ programming languages, parametric polymorphism is materialized, respectively, by the functionalities and/or characteristics:
(A) Generic and Templates.
(B) Generic and Overload of Operators.
(C) Overload and Templates.
(D) Annotations and Superscript.
In the preliminary template the correct option is "A".
I marked the letter "C", because I understand that parametric polymorphism (possibility to define several functions with the same name, but with different parameters) and even polymorphism by overload.
1 - What is the difference between parametric polymorphism and overload polymorphism?)
2 - In C++ Templates is the way to define parametric polymorphism?
3 - What is the way to define parametric polymorphism in Java? It would be Generics? In this case, we could translate the word and say that it is generic?
Maybe This helps you
– Leonardo Alves Machado
If you understand English, this can also help
– Leonardo Alves Machado