Intricate interview question

what's the difference between = and .equals()