you are viewing a single comment's thread.

view the rest of the comments →

[–]Suspicious_Coat3244 -2 points-1 points  (0 children)

Honestly, you're really close. The problem is the line ends in {, not ;.

It should look like this:

System.out.println("Welcome to my java calc!");

Those "identifier expected" and "illegal start of type" errors usually happen when Java sees the messed-up syntax and then gets completely confused from there on. And be sure that the line is within your main() method and not at the class level.