Some examples of java