• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SortNames - oop3

 
Brian Holsenbeck
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working ahead on this, and have coded oop3. The lesson says: Purpose: To learn how to work with an ArrayList, how to implement an interface, and how to use I/O.

I didn't have to implement any interfaces. Are we supposed to create a new Names class, and make it Comparable? I just used strings to hold the names I read in...
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to create a class to implement the required interface. You may find some hints in this forum if you search on "SortNames" (without the quote marks)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic