参考1
参考2
递归调用方法本身的时候,没用递归出口,就会出现stackOverFlow。
运行时常量
Java虚拟机——内存
原文:https://www.cnblogs.com/xinmomoyan/p/12303100.html