System.out.println it doesn’t show in the terminal [closed]

I typed the code but it didn’t show in the terminal can anyone help 🙂 ?

enter image description here


Run the program to see the output, if you have run the program from VS code.

find the output in debug console or output

If not then open a terminal/command line go the directory where your file is located.

In the terminal, run the command:


The file Hello.class should be created in your current directory try running.

java Hello

Hope you have java environment variables. if not set the environment variables.