Cognizant interview question

To analyze code snippets (Java)