+ 2
Do order matters ? In this code
class Birthday { public: Birthday(int m, int d, int y) : month(m), day(d), year(y)//here { } void printDate() { cout<<month<<"/"<<day <<"/"<<year<<endl; } private: int month; int day; int year; };
1 Answer
+ 3
No. You can assign in any order or skip an place assignments in the {}.