MCQOPTIONS
Saved Bookmarks
| 1. |
Observe the following code and chose the right statement class Circle: public Shape { Point center; int radius; public: Circle(Point, int); // follow this line void draw(); void rotate(int) { } }; |
| A. | Circle(Point, int) is a default constructor in Circle Class |
| B. | Circle(Point, int) is a user defined structure in Circle class |
| C. | Circle(Point, int) is a method declaration in Circle class |
| D. | Circle(Point, int) is a parameterized constructor |
| Answer» E. | |