CS 1043 Lab 2

// 5. "add" (insert) the first data value into the ArrayList. // 6. Write a nested loop to read data and insert the remaining // data values into the ArrayList in ascending order: // a. Outer while-loop determine if there is another data value // in the file. Use the Scanner-class hasNext() method. while( ... ) {// b. Initialize an index ... ................
................