A region of storage with associated semantics.
After the declaration
int i;
we say that “i
is an object of type int
.” In OO/C++, “object” usually means “an
instance of a class.” Thus a class defines the behavior of possibly many objects (instances).
No comments:
Post a Comment