Yes... but the point of the exercise is to practice recursion.
In production code you would just use the equalsIgnoreCase()
method.
You have reached the end this chapter. If you are equal to the task, you may wish to review the following. Click on a subject that interests you to go to where it was discussed.