Core Java samples