Lab 1980 - Emigrant


On September 10, 1852, a small ship named the "Emigrant" left Sunderland in the Northeast of England bound for Melbourne, Australia. What sorts of people were needed to settle in the new country?


The passenger list, with professions, is in the file Emigrant.dat. Use the Java HashSet class to store a list of unique professions. Use an iterator to display the unsorted results. (This project description will be expanded...)

Baker                 John               Labourer
Bates                 Thomas             Agent
  "                   Caroline             (wife)
Bird                  Thomas             Grocer
  "                   Ann                  (wife)
  "                   Bolton S             (son)
  "                   Thomas               (son)


Emigrant.dat passenger list from the ship Emigrant.

Copyright © 2010 by Asylum Computer Services LLC Return to CS Labs