Chapter 8. Study Guide

There are two common ways of treating the string data type, either as a fundamental type or as a class. Programming languages generally use one representation or the other. C++ is somewhat unique in that it uses both. It inherits C-strings, a fundamental or primitive string representation based on character arrays and character pointers, from the C-programming language. But C++ also includes a full-featured string class that is very similar to Java's String class.

Know