1.

What is meant by container ship?(a) class contains objects of other class types as its members(b) class contains objects of other class types as its objects(c) class contains objects of other class types as its members 7 also objects(d) class contains objects of other class types as its members 9 also objectsI have been asked this question in class test.Enquiry is from Class Hierarchies and Abstract Classes topic in portion Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

The correct option is (a) class contains OBJECTS of other class TYPES as its members

The best explanation: CONTAINER ship is a class contains objects of other class types as its members.



Discussion

No Comment Found

Related InterviewSolutions