Cognizant interview question

Java core, J2EE fully