A recursive solution can be preferable to an iterative solution because:

(a) recursive method calls are faster than iterative looping
(b) recursive solutions may be easier to understand than iterative ones
(c) recursion uses less memory than iteration
(d) iteration should be avoided.

(b) recursive solutions may be easier to understand than iterative ones

Computer Science & Information Technology

You might also like to view...

Which of the following is not a consideration when purchasing software economically?

A) Although there are different bundles of Microsoft Office you can purchase, the primary difference between the bundles are the number of programs that are included and the fewer the programs, the lower the price. B) Another option for purchasing software is an integrated package, which provides the functionality of several separate programs within a single program. C) A software suite is software that you can download from a website without a fee. D) Shareware is software that you can download for a small fee or donation.

Computer Science & Information Technology

What is method overloading?

What will be an ideal response?

Computer Science & Information Technology