Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
The Java platform contains four classes that you can use when working with character data:This section covers these string-related topics:
- Character—A class whose instances can hold a single character value. This class also defines handy methods that can manipulate or inspect single-character data.
- String—A class for working with immutable (unchanging) data composed of multiple characters.
- StringBuffer—A class for storing and manipulating mutable data composed of multiple characters. This class is safe for use in a multi-threaded environment.
- StringBuilder—A faster, drop-in replacement for StringBuffer, designed for use by a single thread only.
- Characters
- Strings and String Buffers
- Creating Strings and String Buffers
- Getting the Length of a String or String Buffer
- Getting Characters by Index from a String or String Buffer
- Searching for a Character or a Substring within a String
- Comparing Strings and Portions of Strings
- Manipulating Strings
- Modifying String Buffers
- Strings and the Compiler
- Summary of Characters and Strings
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2005 Sun Microsystems, Inc. All rights reserved.