Nagarro interview question

String output questions using equals.