Strings are special arrays with data of type character. Recall that type character is a primitive type. A string is a sequence of data items of type character. Most of the data manipulated by programs is either numeric or string data. Strings are used to manipulate text data.
This chapter explains and discusses the concepts related to strings and their manipulation. There are several operators that are special to strings. These string operators are explained and applied in a few examples presented in the chapter. The declaration and manipulation of strings in Java is briefly discussed.