Question
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
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which among the following is a mandatory condition for array of objects?
Similar Questions
Discover Related MCQs
Q. What is the type of the elements of array of objects?
View solution
Q. If array of objects is declared as given below, which is the limitation on objects?
Class_name arrayName[size];
View solution
Q. Which is the condition that must be followed if the array of objects is declared without initialization, only with size of array?
View solution
Q. When are the array of objects without any initialization useful?
View solution
Q. If constructor arguments are passed to objects of array then ____________ if the constructors are overloaded.
View solution
Q. How the objects of array can be denoted?
View solution
Q. The objects in an object array _______________________
View solution
Q. The Object array is created in _____________________
View solution
Q. If an array of objects is of size 10 and a data value have to be retrieved from 5th object then ________________ syntax should be used.
View solution
Q. Can we have two dimensional object array?
View solution
Q. From which index does the array of objects start?
View solution
Q. Two dimensional array can’t be initialized with the declaration.
View solution
Q. Is an array of characters always a string?
View solution
Q. Which among the following is main use of object?
View solution
Q. Which among the following is not a property of an object?
View solution
Q. What is function object?
View solution
Q. Immutable object are used ______________________
View solution
Q. Which object can be used to contain other objects?
View solution
Q. A factory object is used ______________________
View solution
Q. What are singleton objects?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!