created: 05/08/00; Revised: 07/22/02, 06/02/03, 02/20/06, 08/17/2014, 07/11/2016
This chapter discusses the
useful for processing character data.
String alone could be used for this,
is often faster and more convenient.
StringBuffer class is sometimes useful,
it is not essential.
It is not covered in the AP Java computer science test.
(Review: ) Examine the following code:
String data = new String("Turtle"); data = data + 's' ;
Does the last statement construct a new