1.

Which of the following is a static polymorphism mechanism?(a) Function overloading(b) Operator overloading(c) Templates(d) All of the mentionedThe question was posed to me in class test.I need to ask this question from OOPs Concept in portion Basics Concepts of C++ of C++

Answer» CORRECT choice is (d) All of the MENTIONED

Best explanation: All the options mentioned above uses static POLYMORPHISM mechanism. As the CONFLICTS in all these types of FUNCTIONS are resolved during compile-time.


Discussion

No Comment Found

Related InterviewSolutions