Array of Objects in c++ Like array of other user-defined data types, an array of type class can also be created . The array of type class contains the objects of the class as its individual elements. Thus, an array of a class type is also known as an array of objects.