18.3.2 Default Constructors (cont.)
Example: a
String
is, by default, an empty string
String::String() { len = 0; buffer = NULL;
// No need to allocate array to hold zero characters
}
prev
|
top
|
next