1.

What is an array of objects?(a) An array of instances of class represented by single name(b) An array of instances of class represented by more than one name(c) An array of instances which have more than 2 instances(d) An array of instances which have different typesThis question was addressed to me in homework.My question is based upon Object Array topic in division Object of Object Oriented Programming

Answer»

Correct CHOICE is (a) An ARRAY of instances of class represented by single name

The best I can explain: The array of objects an array of instances of a class. The array is represented by a single name. The array name is itself a pointer. Array name REPRESENTS the FIRST OBJECT.



Discussion

No Comment Found

Related InterviewSolutions