Instructions:
Compile with:
javac -source 1.2 -target 1.1 example.java
appletviewer example1.html

Example code for you to expand