The Java training online
Helping elements
training
→ the source code must be located in a directory named training
Training
→ the source code must be saved in a file named Training.java
main
method → Its signature is conventionally: public static void main(String[] args) {…
System.out.println (“some text”);
java/
directory, type javac training/Training.java
java/
directory, type java training.Training
A possible solution