What are the base cases in the following recursive method?

```
public static void xMethod(int n) {
if (n > 0) {
System.out.print(n % 10);
xMethod(n / 10);
}
}
```
a. n > 0
b. n <= 0
c. no base cases
d. n < 0

b

Computer Science & Information Technology

You might also like to view...

A ________ enables an individual to insert a line in a form or report

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which type of format acquisition leaves the investigator unable to share an image between different vendors’ computer forensics analysis tools?

a. Proprietary b. Raw c. AFF d. AFD

Computer Science & Information Technology