Objects can answer the question of whether or not they are declared on the stack or in the heap.