CIS242 Homework
Consider the following declarations:
class bagType
{
public:
void set(string, double, double, double, double);
void print() const;
string getStyle() const;
double getPrice() const;
void get(double, double, double, double);
bagType();
bagType(string, double, double, double, double);
private:
string style;
double l; double w;
double h;
double price;
};
bagType newBag; //variable declaration
a. How many members does class bagType have?
b. How many private members does class bagType have?
c. How many constructors does class bagType have?
d. How many constant functions does class bagType have?
e. Which constructor is used to initialize the object newBag?
10 years ago
10
Answer(2)![blurred-text]()
![]()
![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- c_answers.docx
Purchase the answer to view it

NOT RATED
- cis2421.docx
Bids(2)
other Questions(10)
- respond to 2 peers due in 3 hours
- SCI 256 Week 5 Environmental Analysis Presentation
- High-Risk Family Assessment and Health Promotion Paper
- Action Plan for Differentiation (let me know what you need for the work) read carefully
- NEED ENTIRE WORKSHEET COMPLETE!
- CS/105
- Assignment 1: What About the Contract?
- Week 3
- Wk6 assignment
- Week 3 Assignment
