This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Cattle Drive and the fly likes OOP-3 (SortNames) Two classes in one file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "OOP-3 (SortNames) Two classes in one file." Watch "OOP-3 (SortNames) Two classes in one file." New topic
Author

OOP-3 (SortNames) Two classes in one file.

Richard Boren
Ranch Hand

Joined: Mar 01, 2001
Posts: 233
I have been working on OOP-3 (SortNames) and have it working, but I ended up with two classes in the same file. The SortNames class and another class that implements an interface. Is that correct/okay?
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Perfect Richard !!
Richard Boren
Ranch Hand

Joined: Mar 01, 2001
Posts: 233
Thanks
 
Don't get me started about those stupid light bulbs.
 
subject: OOP-3 (SortNames) Two classes in one file.