created: 05/08/00; Revised: 07/22/02, 06/02/03

CHAPTER 49D — StringBuffers and StringTokenizers

This chapter discusses two classes that are sometimes used for processing character data. The class String alone could be used for this, but the StringBuffer class and the StringTokenizer class are often convenient.

Chapter Topics:


(Review: ) Examine the following code:

String data = new String("Turtle");

data = data + 's' ;

Does the last statement construct a new String?