1

I have three classes like: ClassA,ClassB,ClassC. ClasssB inherited from ClassA, and ClassC inherited from ClassB, there is a method in classA and overrided in ClassB and ClassC. and I want to refer to method in ClassA instead of ClassB when it is run in ClassC using "inherited", how can I do this?

best regards.

Rojin
  • 109
  • 3
  • 6

0 Answers0