Java Sample Programs