In this session we look at how we can use collection objects like ArrayList as a more advanced type of array. We also introduce the idea of generics (forcing a collection to hold a particular type) and see how Java handles the autoboxing and unboxing of primitives. Finally we look at Iterators, a common design pattern for dealing with iteration over a collection.
|Added On:||25 Oct 2011 09:54|
|Tags:||java, loops, arrays, generics, autoboxing|
|Course codes:||COMP1004, COMP1202|