I dont't understand what advantage an interface has, and, once I have the interface, what benifit it will bring. Please help!
It's been a while since I've thought about the SortNames assignment, but maybe I can help at a real general level...
An interface usually gives you the advantage of letting you add some functionality to your class that it might not otherwise have. In this case, you need to sort by last names. Before you can sort a bunch of names, though, you need to be able to compare those names to eachother. That's where a certain interface might come in handy.
If that's altogether too vague, please say so. I think I remember some helpful conversations on this one, I'll try to dig them up...
Hang in there! [ March 15, 2005: Message edited by: Pauline McNamara ]
Joined: Jan 19, 2001
Here's one favorite on SortNames. There's a bunch of good ones out there - a quick search using 'sort names' got 'em.