Some examples of Java Code