Search:

Type: Posts; User: lsjava82

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,434

    Re: FileReader "not a statement"

    I originally had {} around the last if statement but it caused more errors. When I add them back as seen below I get 9 errors.



    import java.util.Scanner;
    import java.text.*;
    import java.io.*;...
  2. Replies
    5
    Views
    1,434

    Re: FileReader "not a statement"

    I updated my post, sorry about that.

    I pasted the error, but I want to mention that the second error points to right after FileReader while the first error is pointing at the beginning of...
  3. Replies
    5
    Views
    1,434

    FileReader "not a statement"

    I am new to java and having issues compiling my code. I continue to receive two errors that FileReader is not a statement and that a ";" is expected after FileReader. I have tried to import several...
Results 1 to 3 of 3