The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

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:

writing to text file help ASAP

Posted by Karin S on January 23, 2002 at 10:02 PM

I am not sure how to do this:

I want to get user input on creating a small address book. When the program executes, the user needs to input first name last name and address information and other stuff like phone numbers.
When each entry is inputted, the program will print out the information to the screen.(System.out.println...) and while the user inputs information, it also needs to go into a text file for verification. Eg:
John Doe
#123-12345 Smith Street
City,State
ZipCode
Phone
SSN
(whatever else)

I am not sure how to do this at the same time.
I am a beginner, some sample code will help me out alot

Thank you
Karin



Replies:

Sponsored Links



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