Java : recursive constructor call and stackoverflow error

后端 未结 5 1967
醉话见心
醉话见心 2020-12-03 20:00

Please help to understand why does the following code

public class HeapQn1 {

    /**
     * @param args
     */
    public HeapQn1() {
        new HeapQn1(         


        
5条回答
提交回复
热议问题