Cognizant interview question

Firstly I was given a java code to debug it and to make it correct so that the code runs successfully

Interview Answer

Anonymous

20 Mar 2016

The code segment was easy and I did it efficiently.