some examples of java