Multiple Choice
Assuming that Rectangle is a class name, what can you say is true, given the following statement?
Rectangle *BoxPtr;
A) The statement declares an object of the class Rectangle.
B) The statement assigns the value of *BoxPtr to the object Rectangle.
C) The statement defines a Rectangle pointer variable named *BoxPtr.
D) The statement is illegal in C++.
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Q33: The constructor function always has the same
Q34: The process of object-oriented analysis can be
Q35: When a constructor function accepts no arguments,
Q36: When an object is defined without an
Q37: If you do not declare a destructor
Q39: In OOP terminology, an object's member variables
Q40: If you do not declare an access
Q41: Constructor functions are often used to allocate
Q42: Assume that myCar is an instance of
Q43: While a class's member functions may be