Page 677 - AP Computer Science A, 7th edition
P. 677

20. (E) The method call whatsIt(347) puts on the stack System.out.print(7). The method call whatsIt(34) puts on the stack System.out.print(4).
The method call whatsIt(3) is a base case and writes out 3. Now the stack is popped from the top, and the 3 that was printed is followed by 4, then 7. The result is 347.

































































































   675   676   677   678   679