Question: What is the output of the following program? *include using namespace std; class Shape { public: void draw() { cout**Draw Shape** } virtual void move()

What is the output of the following program? *include using namespace std; class Shape \{ public: void draw() { cout"**Draw Shape**" } virtual void move() { cout ' % Move Shape k;} class Triangle: public Shape \{ public: void draw() { cout"'**Draw Triangle**"'; } void move() { cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
