I am very new to Java programming and was wondering if there is a way to convert an integer into an int array. The reason I ask is because I know it is possible to convert an integer into a String so I was hoping there was other shortcuts for me to learn as well.
An example of what I am trying to do is taking int 10382 and turning it into int array {1, 0, 3, 8, 2}
Any help or guidance will be much appreciated, thank you very much.