A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
SortNames - oop3
Joined: Jul 01, 2008
Oct 01, 2008 12:42:00
I'm working ahead on this, and have coded oop3. The lesson says: Purpose: To learn how to work with an
, 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
Joined: Jul 22, 2000
Oct 01, 2008 23:19:00
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)
"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:
subject: SortNames - oop3
OOP 3 - Question
OOP3 - SortNames is OK forwards, but can't reverse!
Question about OOP 3 SortNames
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015