I am little bit confused about the condition of traversing.
What is the condition- all the child nodes must be traversed or all the par aents must have been traversed??
Bhaiya told one but did the other one
Please clear the doubt in detail
I am little bit confused about the condition of traversing.
What is the condition- all the child nodes must be traversed or all the par aents must have been traversed??
Bhaiya told one but did the other one
Please clear the doubt in detail
hey @varshneynishu2017 ,
yeah it is a bit confusing topic.
First understand that this case only happens when you find such diamond kind structure in class inheritance.
Now coming to your doubt, if you have a look the video again , the mentor had reversed the overall structure of inheritance to show that class B and D act as child nodes of class E , although actually they are the parent classes of class E.
So to just explain the working he has said in that way. Other than that they are actually the parent classes only.
Else , i guess you have the whole concept about C3 Linearization. If not , have a look here and the video again.
Thank You and Happy Learning .