run .java linux command line code example
Example: run java from terminal linux
//To compile, type
javac filename.java
//To run the generated class file, use
java filename
//To compile, type
javac filename.java
//To run the generated class file, use
java filename