1.

What is the biggest reason for the use of polymorphism?(a) It allows the programmer to think at a more abstract level(b) There is less program code to write(c) The program will have a more elegant design and will be easier to maintain and update(d) Program code takes up less spaceI had been asked this question in exam.Query is from Polymorphism in section Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python

Answer»

Right CHOICE is (c) The program will have a more elegant DESIGN and will be EASIER to maintain and update

To explain: Polymorphism ALLOWS for the implementation of elegant SOFTWARE.



Discussion

No Comment Found

Related InterviewSolutions