I don't understand why the sequence of the Destructor of these two classes are different? Does that make any difference?
Code:class Date { public: Date( int = 1, int = 1, int = 1990 ); ~Date(); void print(); private: ...... }; class Date { public: Date( int = 1, int = 1, int = 1990 ); void print(); ~Date(); private: ... };