inheritance

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony Johansson

    inheritance

    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


  • Scott M.

    #2
    Re: inheritance

    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.



    "Tony Johansson" <johansson.ande rsson@telia.com wrote in message
    news:B8SBk.2658 $U5.5103@newsb. telia.net...
    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
    >
    >

    Comment

    Working...