Please help to understand why does the following code
public class HeapQn1 { /** * @param args */ public HeapQn1() { new HeapQn1(
You are right: the stack is much smaller than the heap, and no object will be fully created.