How to Access 1 digit at at time of an int in Java

How to access each digit in an int in Java