The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Simple Phonebook type program

Posted by seamus mc quaid on March 09, 2001 at 10:36 AM

Hi,
I really need help with this one. Im a beginner to Java and am trying to write a very simple program that reads input from .txt file ie.. John Smith 606984
Bob Green 46528
Steve White 12455

and outputs them in alphabetical order...as in a phone book
ie... Green, Bob 46528
Smith, John 606984
White, Steve 12455

Any help would be greatly appreciated.
Thanks again
Seamus



Replies:
  • readLine() Harald Ueland March 10, 2001 at 11:35 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us