Genpact interview question

Java basics and Java coding