Thursday 11 April 2013

Question: What is an object?


Question: What is an object?

Answer: A region of storage with associated semantics. For example, int i; "i is an object of type int". In Object Oriented C++, "object" usually means "an instance of a class." Thus a class defines the behavior of possibly many objects.

No comments:

Post a Comment