examples of java