In this exercise we are going to practice how to use java
, and javac
to compile and run a specific java file.
- Create a SayHello.java file using the terminal.
- Open in an editor(can be vs-code or gedit)
- Create a sayHello class
- Create a public main class
- Print message 'Hello, Umhlaba!'.
- Compile the program using
javac