java program to demonstrate how a java program is written ,complier and run code example Example: compile java // compile > javac myCode.java // run > java myCode