Capgemini interview question

Q) Can java be used to develop applications?