Consider the following method:
public void printDigits(int n) {
while (n != 0) {
int digit = n % 10;
System.out.print(digit + " ");
n /= 10;
}
}
Assume that the method printDigits(12345) appears in a method in the same class. What is printed as a result of the method call?