Revolut interview question

equals and == in java