60 331
Assignments Done
98%
Successfully Done
In April 2018

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?
Expert's answer
(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

Submit
Privacy policy Terms and Conditions