User inputs in java

Hi, I am trying to make a calculator in java and trying to get user input, I cant get it to work, Ive done research on it and unable to get it to work, I continually get the same error even on a blank slate with nothing but that code. Let me know what I need to do to get it to work

Hey, welcome to the forums!

Some Codecademy environments, such as that one aren’t geared to receive user input via them, and therefore that’s not possible unfortunately, you can tell for the ones that do accept input as they usually have a more standard terminal or at the very least a way to type into the output box, perhaps try a platform such as replit instead?

Happy coding!