Polymorphism - why not overloading instead

101 views Asked by At

So I am learning the Polymorphism now, i simply cannot understand why would i override a function in the base class from the subclass instead of overloading the function in the base class so i could call it with different parameters. Could someone please explain this to me? Maybe I am just missing something here..

0

There are 0 answers