Chapter 10: Strings


10.1 Introduction

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.




Object-Oriented Programming(c) From Problem Solving to Java
Object-Oriented Programming (From Problem Solving to JAVA) (Charles River Media Programming)
ISBN: 1584502878
EAN: 2147483647
Year: 2005
Pages: 184

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net