Memory is allocated to objects when they are declared not when the class is specified. Memory is allocated only once when they are defined as a part of a class specification.