aspose file tools*
The moose likes Cattle Drive and the fly likes SortNames - oop3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "SortNames - oop3" Watch "SortNames - oop3" New topic
Author

SortNames - oop3

Brian Holsenbeck
Greenhorn

Joined: Jul 01, 2008
Posts: 8
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

Joined: Jul 22, 2000
Posts: 9043
    
  10
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)


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SortNames - oop3
 
Similar Threads
OOP 3 - Question
OOP3 - SortNames is OK forwards, but can't reverse!
Inner Classes
Question about OOP 3 SortNames