Cognizant interview question

what was the difficulty using java