As you know that object is an entity that has a physical existance..now you declare a statement like A ob; //A is a class name,ob is the object of that class.. when the c++ compiler complies the program,it creates the space for that object into the memory..that means class does not have a physical existance,the existance will come after creating the object..