Java Course Basic Java practice programs and examples. Run a program javac Test.java java Test Replace Test with the name of any Java file and its class. Compiled .class files are ignored and are not pushed to Git.