Final answer:
To construct an array of objects using a default constructor, you must call the constructor using the keyword new for each object in the array. This is necessary because the default constructor initializes each object with default values.
Step-by-step explanation:
To construct an array of objects using a default constructor, you must call the constructor using the keyword new for each object in the array. This is necessary because the default constructor initializes each object with default values. When using the new keyword, memory is allocated for the objects in the heap, and the constructor is called to initialize each object.
For example, in Java:
MyClass[] myArray = new MyClass[5];
for (int i = 0; i < myArray.length; i++) {
myArray[i] = new MyClass();
}
In this code snippet, an array of MyClass objects is created with 5 elements. The constructor is called for each object using the new keyword.