Hi,
According my understanding, the execution steps are as follows.
20 -> 21 -> 16 -> 17 -> 07 -> 08 -> 04 -> 05 -> ...........
Where number represents the line no. shown in the code block.
But, while debug, the execution steps are
20 -> 21 -> 16 -> 17 -> 07 -> 13 -> ->14 -> ....
I think, now it is cleared my question!!!
For
Abimaran Kugathasan,
What is the actual type of the you are creating?
- Creating object of the type Derived
The overridden methods are invoked on the actual object.
- Not clear the question
Thanks