follow op question to this screenshot. I get this error a lot, but codeacademy still excepts the solution, just as you see there. What is up with that? Also I don’t see how you can tell from this error where curly brackets are missing.
I’m not getting any errors within the terminal, but I continue to get the red text informing me of how to use “single line comment syntax”. Currently, I am stuck on the third problem for this page. Any tips?
Review.java:2: error: ‘;’ expected
public static void main(String args) //The main method executes the tasks of the class
^
1 error
it gave me the go ahead… but also an error.
take your time answering. im gonna step away for a bit. ive got a headache.
Edit: im asking if im supposed to have an error and if not what is wrong. my code:
public class Review {
public static void main(String args) //The main method executes the tasks of the class
system.out.println(My first Java program from scratch!)
Review
}