Realize the simplest recursive call, simulate exception in thread “main” java.lang.stackoverflowerror exception

 

package  com.collmall.code;

public class  StackOverflowErrorTest {

    public static void main(String[]args){
        main(null);
    }
}

 

Read More: