1.

Which is not feature of OOP in general definitions?(a) Code reusability(b) Modularity(c) Duplicate/Redundant data(d) Efficient CodeThe question was posed to me in semester exam.I need to ask this question from OOPs Basic Concepts in division OOPs Concept & Features of Object Oriented Programming

Answer»

Right answer is (C) Duplicate/Redundant data

To explain: Duplicate/Redundant data is dependent on programmer and hence can’t be guaranteed by OOP. Code reusability is done using INHERITANCE. Modularity is supported by using different code files and classes. Codes are more EFFICIENT because of FEATURES of OOP.



Discussion

No Comment Found

Related InterviewSolutions