This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • 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: 9059
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