created: 6/15/98; revised: 09/05/99, 06/12/00, 05/04/02, 01/19/06

CHAPTER 29 — Strings and Object References

In previous chapters, methods were called with parameters that were primitive data types. This chapter discusses how to use object references as parameters. The class String is used in many examples.

Chapter Topics:

QUESTION 1:

(Review:) What TWO things does the following statement do?

String zeta = new String( "The last rose of summer." );