I have two questions about this of code.
Can someone explain me, what the if statement is doing exactly. I know that `count` has to increment every time the test is true, but I'm not sure what the this `n % i == 0` is doing.

My second question is, how can I print the return statement's answer on the console?

```
int n = 10;
countFactors(n);
   }
   public static int countFactors(int n){
      int count = 0;
      for (int i = 1; i <= n; i++){
         if (n % i == 0) //this line
         count++;
      }
      return count;
   }
}

```