In this series, I will guide you to learn Java from basic to advanced, I will help you cover it all from beginning to end. forms the foundation for us to develop Web applications or applications using the Java language.
From the Windows search box, open the terminal and type cmd.
System.out.print("Hello World");
Hello World
In Java, newline characters will not be distinguished, but a comma will be required.
Typing forward slash and the word 'exit', or forward slash with the shortcut text ex, will end your JShell session, if you get stuck.
An example would be /exit or /ex.
Top comments (0)