1.

Which of the following is not a feature of pure OOP?(a) Classes must be used(b) Inheritance(c) Data may/may not be declared using object(d) Functions OverloadingI got this question by my college director while I was bunking the class.My query is from OOPs Features in portion OOPs Concept & Features of Object Oriented Programming

Answer»

The correct answer is (C) Data may/may not be declared using object

The best I can EXPLAIN: Data must be declared using objects. Object usage is mandatory because it in turn calls its constructors, which in turn must have a class DEFINED. If object is not USED, it is a violation of pure OOP CONCEPT.



Discussion

No Comment Found

Related InterviewSolutions