Core Java examples