I am currently using Windows 11 and I'm trying to setup java for classes. I'm using Windows PowerCell and Notepad for my coding. when I tried to compile, I got the error message "PS C:\Users\tcgqw\Downloads\firstcode. java> javac Firstcode. java
Firstcode. java:1: error: '{' expected
public class Firstcode. java {
1 error
I attached an image of my code to the post
I want to have it save the class file so it could print, but I don't know why it isn't working it just makes an error no matter how I edit the class or file name
Code as text
`public class Firstcode.java {
public static void main (String [] args) {
int wage;
wage = 20;
System.out.print("Salary is ");
System.out.println(wage * 40 * 52);
}
}`
