go to home page   go to next page

created: 11/05/2010; revised 01/01/11, 09/03/14


CHAPTER 75 — Recursion with Strings

Recursion is a powerful problem-solving technique. You should practice it. This chapter provides additional practice, this time with strings. Normally in writing a program you would use the methods that come with the String class rather than write the methods in this chapter, but recursive string manipulation examples are too good to pass up.

Chapter Topics:


QUESTION 1:

What is the length of this string:   ""     (the quote marks are not part of the string).