Thanku
for this fantastic explanation.
I am very clear with the concept now.
thanku
.
But can you please explain the following??
Suman Poluri wrote:'B extends A' means that when you try to instantiate B, the constrcutor of B is invoked,
I guess instantiate means
How B extends A would be an instantiate???
So there is no instance of B called still it calls super()???
that means while compiling it invokes constructor & not at
??
the code below just compiles as above code throwing error.