Sample Java file (.java)
Java is object oriented programming language developed at Sun Microsystems. Java programs are compiled to bytecode, which is later interprited on multiple platforms.
A sample java file, which prints the text “Sample Java file”.
$ file Sample.java Sample.java: ASCII C++ program text $ javac Sample.java $ java Sample Sample Java file
Sample java file: download here.
Tags: java programming