Java Programming Chapter One Exercise.