Number 2
Write a class that breaks an integer into a sequence of digits in reverse order. The number 24751, for example should be converted into the following output:
1
5
7
4
2
The integer is exactly 5 digits long and is not negative. Please use a JOptionPane for testing the class. Test the class with the integers 12345 and 10000.
Please:)))
Ne poluchaetsja nichigO;(