
Consider the following declarations: class xClass { public: void func(); void print() const; xClass (); xClass (int, double); private: int u; double w; }; xClass x; a. How many members does class xClass have? b. How many private members does class xClass have? c. How many constructors does class xClass have? d. Write the definition of the member function func so that u is set to 10 and w is set to 15.3.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.