created: 6/15/1998; revised: 09/05/1999, 06/12/2000, 05/04/2002, 01/19/2006, 06/15/2008, 07/17/14
Strings are immutable
In previous chapters,
methods were called with parameters
that were primitive data types.
This chapter discusses how to use object references
String is used in many examples.
Students taking the computer science Advanced Placement examination
are expected to be familiar with the
(Review:) What TWO things does the following statement do?
String zeta = new String( "The last rose of summer." );