UPS Interview Question

Basic Java question, and programming question was switching two strings