VS vs Eclipse
-
Well actually it is not... you can't call a derived class's method from a base class... -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
CWIZO wrote:
Well actually it is not... you can't call a derived class's method from a base class...
...well never mind - I know that you know how it works, I was just commenting on the fact that when you talk about a class's "base" things, then you are talking about the superclass's methods. Given "public class B : A" then whenever B refers to its "base" - then it is refering to something defined in A. Hence: All B's "base" belongs to A. :) I'm done in this thread :cool: - Jake Three kinds of people in the world: - Those who can count.. - Those who can't!
-
CWIZO wrote:
Well actually it is not... you can't call a derived class's method from a base class...
...well never mind - I know that you know how it works, I was just commenting on the fact that when you talk about a class's "base" things, then you are talking about the superclass's methods. Given "public class B : A" then whenever B refers to its "base" - then it is refering to something defined in A. Hence: All B's "base" belongs to A. :) I'm done in this thread :cool: - Jake Three kinds of people in the world: - Those who can count.. - Those who can't!
Hehe my bad. We are both right. It depends on how you look at it :) -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!