class rectangleType{public:void setLengthWidth(double x, double y);//Postcondition: length = x; width = y;void print() const;//Output length and width;double area();//Calculate and return the area of the rectangle;double perimeter();//Calculate and return the parameter;rectangleType();//Postcondition: length = 0; width = 0;rectangleType(double x, double y);//Postcondition: length = x; width = y;private:
double length; double width;};
Consider the accompanying class definition, and the declaration:rectangleType bigRect;
Which of the following statements is correct?
A. rectangleType.print();
B. rectangleType::print();
C. bigRect.print();
D. bigRect::print();
Answer: C
Computer Science & Information Technology
You might also like to view...
Which of the following port scans attempts to make a full connection to the target IP address?
A) Ping scan B) Connect scan C) SYN scan D) FIN scan
Computer Science & Information Technology
You can create different versions of a PivotTable using the same data by creating:
A) forms. B) queries. C) tables. D) fields.
Computer Science & Information Technology
Impress presentations have a file extension of ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
In a relational database, the order of the rows and the order of the columns are ____.
A. predetermined B. critical C. immaterial D. distinct
Computer Science & Information Technology