Because java processes from left to right, and there is ""string processing before subtraction, java will treat everything after that as a string.
setText("+(number 1-number 2));
If the subtraction is in front, such as number 1-number2+ "",this is ok.