Java assignment for colections by sapna jindal