What is the max level of inheritance in java?

Rig*_*eda 6 java oop

I was wondering if there is a finite number of time that I can inherit a class? Or what are the factors that can influence this?

pin*_*chi 14

阅读本文(很有趣)

The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
Run Code Online (Sandbox Code Playgroud)

  • 对于一些有趣的研究来说+1,对于那些想要在点击链接之前知道答案的人来说,实际编译*和运行*的答案是~60级 (3认同)