Page 1 of 1

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
by answerhappygod
Consider A Class Figure From Which Several Kinds Of Figures Say Rectangle Circle Triangle Etc Can Be Inherited Eac 1
Consider A Class Figure From Which Several Kinds Of Figures Say Rectangle Circle Triangle Etc Can Be Inherited Eac 1 (41.32 KiB) Viewed 58 times
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.