java homework9