Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: Illegal Start of Expression // Creating, Compiling, and Executing Runtime Project

    That error explains exactly the problem: creating a new FileWriter can throw an IOException, so you have to either put it inside a try block or pass the exception up the chain. Recommended reading:...
  2. [SOLVED] Re: Illegal Start of Expression // Creating, Compiling, and Executing Runtime Project

    Use the highlight=java /highlight tags instead of the code tags for syntax highlighting.

    Like I said, you can't have expressions outside of methods. You can have declarative statements like Vector...
  3. [SOLVED] Re: Illegal Start of Expression // Creating, Compiling, and Executing Runtime Project

    You need to fix your formatting. Where does each method start and end? You can't have methods directly inside other methods, and you can't have expressions outside of methods. Your (lack of)...
Results 1 to 3 of 3