FIS interview question

Java questions