Originally posted by Barry Gaunt:
Must we put only String objects in the ArrayList or can we put some wrapper objects in there? If we can only put String objects in I have to rethink things.
From the assignment:
Load an ArrayList with Strings from a text file of names.
Sure it's an OO assignment, but it's not that OO.
Are the lines in the input file unique? That is, no duplicates?
There aren't any duplicates in the file the assignment supplies. But why should duplicates matter?
thank you, Michael, for this useful tip,
Another note: there's been some good discussion of this assignment in this forum. If you don't need any hints, of course go ahead and do things on your own. But if you find yourself getting stuck, there are some previous hints out there and pointers to good resources.
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton