The printDigits method is a void (no return value) method that takes an integer parameter n. It prints out each digit of n one by one, separated by spaces.
Related terms
Void Method: A void method does not return any value after completing its operations.