Chapter 11
Data Collections
Asyousaw inthelastchapter, classesareonemechanismforstructuringthedatainourprograms.Classes
alone,however, arenotenoughtosatisfyallofourdata-handlingneeds.
If youthinkaboutthekindsofdatathatmostreal-worldprogramsmanipulate,youwillquicklyrealize
thatmany programsdealwithlargecollectionsofsimilarinformation.A few examplesofthecollectionsthat
youmightfindina modernprograminclude