Clarivate interview question

Java related rapid fire round