Fellas !! I have a doubt in class Hierarchy!! Please Help me !!
Here we are supposed to find at which line an exception is thrown
I think it should be line 14 but thats not the answer. Thats because if it would have been B b=new C(); then we could have written b=(C)m but the line is B b=new B();
This example is taken from Devaka Coorey !!