Answer:
a. and c.
Step-by-step explanation:
The snippet of code provided will print out all of the odd numbers between 0 and the value passed as a parameter. If a number is even, it will add 1 to the even number and print out the new value. Therefore, there will be a total of outputs as the number passed as an argument. For example, this code will output a total of 5 lines of output. Therefore, the statements that would be true in this question would be the following...
a. A value of 5 will be substituted for the parameter during the execution of the printOdd method.
c. This method when executed as called by main will print out 5 lines of output.