Consider the following method:
public void printFactors(int n) {
for (int i = 1; i <= n; i++) {
if (n % i == 0) {
System.out.print(i + " ");
}
}
}
Assume that the method printFactors(24) appears in a method in the same class. What is printed as a result of the method call?