java input an integer and then outputs both the individual digits

I want this kind of output
How?
output:
Enter a number: 3456
Digit(s): 3 4 5 6