![]() |
Computer Science Department |
Objectives: |
|
Background: |
We are about to begin a section on data structures. One of the first “collections” you have worked with is the single-dimensional array. This lab will provide practice in using single dimensional arrays of objects. Our next topic is multi-dimensional arrays. |
New Terms: |
No new terms. We will be using the Comparable interface. |
Materials: |
Song.java CompactDisc.java Classics.txt Lab22_worksheet.doc |
Acknowledgment | This lab is adapted from the lab from the Gaddis textbook from Chapter 8. |
At each step you will be printing one of the arrays, first the unsorted original, the unsorted copy, the sorted original, then the sorted copy.
Updated 04/03/2007 (nlh)