Consider a class Figure from which several kinds of figures – say rectangle, circle, triangle etc. can be inherited. Ea
Posted: Sat May 14, 2022 2:42 pm
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.
this is a c++ que please do it as fast as possible
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.
this is a c++ que please do it as fast as possible