adplus-dvertising
frame-decoration

Question

If array of objects is declared as given below, which is the limitation on objects?

Class_name arrayName[size];

a.

The objects will have same values

b.

The objects will not be initialized individually

c.

The objects can never be initialized

d.

The objects will have same data

Answer: (b).The objects will not be initialized individually

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If array of objects is declared as given below, which is the limitation on objects? Class_name arrayName[size];

Similar Questions

Discover Related MCQs

Q. Which is the condition that must be followed if the array of objects is declared without initialization, only with size of array?

Q. When are the array of objects without any initialization useful?

Q. If constructor arguments are passed to objects of array then ____________ if the constructors are overloaded.

Q. How the objects of array can be denoted?

Q. The objects in an object array _______________________

Q. The Object array is created in _____________________

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.

Q. Can we have two dimensional object array?

Q. From which index does the array of objects start?

Q. Two dimensional array can’t be initialized with the declaration.

Q. Is an array of characters always a string?

Q. Which among the following is main use of object?

Q. Which among the following is not a property of an object?

Q. What is function object?

Q. Immutable object are used ______________________

Q. Which object can be used to contain other objects?

Q. A factory object is used ______________________

Q. What are singleton objects?

Q. Object cout and cin _________________

Q. Objects type ____________________