People Tech Group interview question

Java basics