Details of this Paper

Bag type

Description

solution


Question

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 1;double w;double h;double price;1. How many members does class bagType have?;2. How many private members does class bagType have?;3. How many constructors does class bagType have?;4. How many constant functions does class bagType have?;5. Which constructor is used to initialize the object newbag?

 

Paper#65686 | Written in 18-Jul-2015

Price : $27
SiteLock