結果 : create an array of class objects c++