Examples of written Java code