Some Java examples