Posted: Sat Apr 01, 2006 2:56 pm Post subject: Arrays of Objects
How do you pass the arguments to the constructor when declaring an array of objects?
Sponsor Sponsor
wtd
Posted: Sat Apr 01, 2006 4:17 pm Post subject: (No subject)
When you declare an array of objects, the individual elements in the array are not initialized. You must separately loop over the array and initialize each object.