Results 1 to 4 of 4
  1. #1
    purinlove88 is offline Member
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Default Having trouble with java homework...

    Hi,

    I'm really green to java so I am having some trouble doing my homework.

    I just need someone to walk me through what should be done and I'll do the coding on my own..

    I'm required to take a program that allows people to put in data for their birthdays and write it in a way that information is saved to an external file. How do you actually do it?

    Similarly, I was wondering, if you are going to take this external file and open it to show the information, what do you do?

    Thanks...

  2. #2
    azzaiel's Avatar
    azzaiel is offline Member
    Join Date
    Feb 2009
    Posts
    57
    Rep Power
    0

    Default

    use java.io BufferReader and BufferdWriter

  3. #3
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    7

    Default

    use BufferReader/BufferdWriter with FileReader/FileWriter

  4. #4
    kulangotski is offline Senior Member
    Join Date
    Feb 2009
    Posts
    117
    Rep Power
    0

    Default ei

    i can answer ur second question, i think..

    it actually depends because before you put data into a file, you first have to determine what type of file is that you are going to use where the data will be coming in.

    it can be a txt, doc, dat and etc.. so just double click it if you want to open it

Similar Threads

  1. Java homework please
    By Indulgence in forum New To Java
    Replies: 1
    Last Post: 11-03-2008, 03:48 AM
  2. LF: Homework help with Java
    By excurssion in forum New To Java
    Replies: 2
    Last Post: 10-17-2008, 07:00 AM
  3. Replies: 3
    Last Post: 12-26-2007, 07:42 AM
  4. I need help with my java servlet homework(average)
    By jellyfish888 in forum Java Servlet
    Replies: 2
    Last Post: 12-23-2007, 10:57 PM
  5. Help with my java servlet homework
    By jellyfish888 in forum Java Servlet
    Replies: 2
    Last Post: 12-21-2007, 06:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •