Java duck demo coded back in the days.