HCLTech interview question

how did you use Java in your project?