Hexaware Technologies interview question

How to reverse a 3 digit number in java