Fun examples of Java