Murex interview question

Technical Questions in java with the complexity