Answer:
The answer follows.
Forward Order StringBuffer
After the for loop,
azBuffer
contains the alphabetic characters in their original order,
bu converted to lower case.
Now do this:
- Construct
forwardbased onazBuffer. - Reverse
azBuffer. - Construct
backwardbased on the reversedazBuffer.
This can be done in two statements, using methods of StringBuffer.
QUESTION 11:
Fill in the blanks.