C question Question 7 We have a Shape class We have Square R
C++ question
Question 7 We have a Shape class. We have Square, Rectangle and Circle that are derived from the Shape class. we can cal a me be tu We can call a member function of the Shape class called area() that will calculate area differently for different shapes on of the eclass caled area) at w ca a ate area dere ytr erent shapes This is called_Solution
7.
we have a shape class. we squser rectangle and circle that are derived from the shape class. we call a member function of shape class class called are() that will caluclate area differently different shapes. This is called abstract class.
9. a class have multiple constructors theydiffer in the parameter list.
