I want to Partition the input number to use its ciphers.
For example, I have an input number : 1563
How can I separate 1, 5, 6 and 3 and use them as separate integers?
package todicemal;
public class um {
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        int k=1563;
        System.out.println(k);
    }
}
How can I use the parts of k which form 1563 and use every single cipher as an integer?
 
     
     
     
     
    