1.

Which among the following is the language which supports classes but not polymorphism?(a) SmallTalk(b) Java(c) C++(d) AdaI have been asked this question during an online exam.Question is taken from Polymorphism in portion OOPs Concept & Features of Object Oriented Programming

Answer»

Right choice is (d) Ada

Explanation: Ada is the LANGUAGE which supports the CONCEPT of classes but doesn’t SUPPORT the polymorphism feature. It is an object-based PROGRAMMING language. NOTE that it’s not an OOP language.



Discussion

No Comment Found

Related InterviewSolutions