JavaPractice

This is my homework