Search:

Type: Posts; User: Junky

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    909

    [SOLVED] Re: Very simple file I/O question

    Cheers!
  2. Replies
    9
    Views
    909

    [SOLVED] Re: Very simple file I/O question

    API is the list of all packages, classes and methods that are supplied in standard Java. You should have it bookmarked so you can refer to it often. Or download a copy and install it on you computer.
  3. Replies
    9
    Views
    909

    [SOLVED] Re: Very simple file I/O question

    The error message tells you what is wrong. go to the API for the FileWriter class and find the println method.
  4. Replies
    9
    Views
    909

    [SOLVED] Re: Very simple file I/O question

    We cannot see your screen. "I got an error" provides zero information. Copy and paste the exact error message.
  5. Replies
    9
    Views
    909

    [SOLVED] Re: Very simple file I/O question

    Each time you open a PrintWriter to write to a file it will overwrite what is already there. Imagine you write the following to the file:

    One
    Two
    Three

    Then run the program again and write...
Results 1 to 5 of 5