run java via cmd code example
Example: how to run java files
javac filename.java //(This will compile the program)
java filename //(This will run the file)
javac filename.java //(This will compile the program)
java filename //(This will run the file)