Which among the following is a mandatory condition for array of objects?
(a) All the objects should be of different class
(b) All the objects should be of same program classes
(c) All the objects should be of same class
(d) All the objects should have different data
This question was posed to me during an interview.
The above asked question is from Object Array topic in division Object of Object Oriented Programming