Capgemini interview question

Why did you used java for project ?