Cognizant interview question

Riddles and Basic Java Questions