J
Jeff0803
Guest
Let me explain the class/method relationship first.
There is a base class and a derived class inherited from the base class.
The base class has two method(method 1 & method 2).
The derived class has a method(method 2)
The base class's method 2 is called from 1 when a object is instantiated by base class.
What I want to do is that the derived class's method 2 should be called when a object is instantiated by derived class.
Is it possible?
If so, how to implement it?
Continue reading...
There is a base class and a derived class inherited from the base class.
The base class has two method(method 1 & method 2).
The derived class has a method(method 2)
The base class's method 2 is called from 1 when a object is instantiated by base class.
What I want to do is that the derived class's method 2 should be called when a object is instantiated by derived class.
Is it possible?
If so, how to implement it?
Continue reading...