run .java file code example
Example 1: run java file
javac hello.java
Example 2: cmd java compile
javac MyFisrtProgam.java // enter to compile
java MyfirstProgram // run program
javac hello.java
javac MyFisrtProgam.java // enter to compile
java MyfirstProgram // run program