Swipe to navigate through the chapters of this book
This chapter discusses string variables and the String class. In addition to the concatenation of strings, various methods defined in the String class such as the length, indexOf, and substring methods are examined. The toString method which returns a string representation of the properties of an object is also shown along with a complete program implementing String objects.
Please log in to get access to this content
To get access to this content you need the following product:
James T. Streib
- Springer London
- Sequence number
- Chapter number