Cognizant interview question

java collections,serilaization,comparable,comparator