Basic Java calc errors help

Posted by ajswaryxxy@reddit | learnprogramming | View on Reddit | 17 comments

So I started my second code today and I tried doing the basic calculator. After finishing the code I had 22 errors, which I eliminated however I keep getting “ expected” and “illegal start of type” on line 8. It doesn’t seem to recognise println as a statement. Any help would be appreciated.
I’m new to Java and almost new to coding itself.

Line 8:
System.out.println( “Welcome to my java calc!” ){