Lesson 8: Strings and Text

Overview

Knowledge of the java.lang.String object is basic to the language. Strings are immutable, that is, once created, a string is never modified. To compare strings, you must you the equals method. Strings have a special status in the Java language. Conversions to string are made automatically where ever appropriate.

Internationalization is accomplished with the java.text package.

Examples

  1. StringTokenizerExample.java
  2. ParseInts.java
  3. FormatText.java
  4. AllLocales.java
  5. Javasoft guide (Local.)