Java Collections Basic

home work 4