Syntax for Automatic Creation

In C++ and Object Pascal, and sometimes in Objective-C, memory for variables is commonly created using a simple declaration statement, and space for such values is automatically created.

The language Java has similar declaration statements, but the actual space for the variable is not created until a subsequent dynamic allocation is performed.

[audio] [real] Text to accompany slide5, in Chapter 4 of An Introduction to Object-Oriented Programming