You're trying to code outside of any method. Java won't allow you to do this. I would put this code inside the main method (the method that gets called when you run your program directly)
public...
Type: Posts; User: helloworld922
You're trying to code outside of any method. Java won't allow you to do this. I would put this code inside the main method (the method that gets called when you run your program directly)
public...