Vaadin Interview Question

Explain how to reverse a number in Java