Java:最简单的几行代码让栈内存溢出 StackOverflowError

public class Test1 {
  
  	{new Test1();}
  
  	public static void main(String[] args) {
    
    	new Test1();
    
 	}

}

猜你喜欢

转载自blog.csdn.net/OliverZang/article/details/85148366