I have a question for you all.
Help me pls
There are 5 classes A,B,C,D & E
A->B->C->D->E is the hierarchy.
A is the super class of all the classes.
suppose you are trying to construct an object of class E, so the JVM starts
constructing the objects starting from class A.
If an exception occurs when creating object C, what happns ?
how many objects will be created in the memory ?
which of them are elegible for GC ?