0
Can someone explain why is the output like this
6 odpowiedzi
+ 10
The first thing that is created is the super class (no child without parents), so the constructor of class A is invoked first.
Next thing is the creation of an object of class B.
Hope this helps to understand the output ^^
+ 4
bobz addict We don't want this kind of comments here, please refrain from spamming. Many thanks.
+ 1
Tashi N ohhh so this explains the output"world"
Thank you very much
0
Hhhh
0
Its ok he is my friend is just joking
0
Tashi N ill tell him not to do it again