File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
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
It is sorta covered in the
JavaRanch Style Guide
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-2014