How many times will the following method print the statement “Print this
line.” out, if a value of 10 is passed as the parameter?
public void message(int n) {
if(n > 0) {
System.out.println(“Print this line.”);
message(n – 1);}
}
a. 9
b. 10
c. 8
d. An infinite number of times