inheritance quick question!

In this website there is a tutorial.
On this page: http://www.cplusplus.com/doc/tutorial/polymorphism/

would the first example still work if the area() function had 1 argument in the base class and let's say 3 arguments in the derived classes?

Thanks a lot!
Last edited on
No.
Topic archived. No new replies allowed.