inheritance

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

When you inherit a method from a class that is more general is it then
correct to say
that the inherit method is treated just as if the method was located locally
in the class.

//Tony
 
It is, as long as the current class (the one that is doing the inheriting)
doesn't have its own version of the inherited method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top