应用程序递归太深而发生堆栈溢出
package com.basic.extend;
}
这都发生了什么事情了?
Exception in thread "main" java.lang.StackOverflowError
at com.basic.extend.MainDemo.count(MainDemo.java:11)
at com.basic.extend.MainDemo.count(MainDemo.java:11)
at com.basic.extend.MainDemo.count(MainDemo.java:11)
at com.basic.extend.MainDemo.count(MainDemo.java:11)
原文地址:http://blog.csdn.net/db2china/article/details/45201321