inheritance quick question!

In this website there is a tutorial.
On this page:

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
Topic archived. No new replies allowed.