Consider a class Figure from which several kinds of figures - say rectangle, circle, triangle etc. can be inherited. Eac
Posted: Sat May 14, 2022 2:43 pm
plz solve in C++
plz solve it asap it's very very very urgent plz help plz plz solve it fast i request you
thank you



Consider a class Figure from which several kinds of figures - say rectangle, circle, triangle etc. can be inherited. Each figure will be an object of a different class and have different data members and member functions. With the help of virtual functions, model this scenario such that only those object member functions that need to be invoked at runtime are executed. You may use UML design concepts/virtual function code snippets to model the scenario.
plz solve it asap it's very very very urgent plz help plz plz solve it fast i request you
thank you
Consider a class Figure from which several kinds of figures - say rectangle, circle, triangle etc. can be inherited. Each figure will be an object of a different class and have different data members and member functions. With the help of virtual functions, model this scenario such that only those object member functions that need to be invoked at runtime are executed. You may use UML design concepts/virtual function code snippets to model the scenario.