Answer to Question #13636 in C++ for Chad Dylan Cooper

Question #13636
Consider the following declarations: class testClass { private: int x; float y; public: void func(); void print() const; testClass(); testClass(int, double); }; (i) How many members does class testClass have? (ii) How many private member does class testClass have? (iii) How many constructors does class testClass have?
1
Expert's answer
2012-08-30T09:11:40-0400
(i) testClass has 6 members
(ii) testClass has 2 private members

(iii) testClass has 2 constructors

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal