Hello World – In Different Languages

JAVA

Step1 – Download and Install JDK

Step2 – javac – The Java compiler script is in the path

Step3 –  the code – filename – Howdy.java


public class Howdy {
public static void main(String arg[]) {
System.out.println("Howdy Y'all!");
}
}

Step4 – compile

javac Howdy.java

Step5 – look out for Howdy.class in the same directory

Step6 – run it

java Howdy

Leave a comment