Contents Up << >>

What is an object?

A region of storage with associated semantics.

After the declaration "int i;" we say that "i is an object of type int." In C++/OOP, "object" usually means "an instance of a class." Thus a class defines the behavior of possibly many objects (instances).