

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























Collections … Revisited Dr Olly Gotel [email protected] http://csis.pace.edu/~ogotel Having problems? -- Come see me or call me in my office hours -- Use the CSIS programming tutors
all about ORVs next week…
Car[] cars = new Car[size];
classDogs[0] = new Dog(); classDogs[1] = new Dog(); Actually an array of references to objects Dog[] type classDogs Dog array object (Dog[]) Heap 0 1 2 3 4 5 Dog object Dog object
Vector, LinkedList, HashSet & others) – a collection is actually an object that represents a group of objects – find out about the Java Collections Framework -Note I am happy you ignoring ArrayList for now if it is too much as arrays are fine for your project! Hooks to CS