CodesJava

Easy learning with example program codes

what is stackoverflowerror in java?


StackOverflowError in a runtime error in java. It is thrown when an application recurses too deeply. Whenever the method execution happens a call stack with limited amount of memory location is assigned. This amount of memory is allocated by JVM. Based upon the number of the method execution the size of the call stack grows and srinks.

In most of the cases StackOverError is thrown when call stack exceeds because of excessive deep or infinite recursion. During which the need to store the local variable in the method exceeds the allocated stack size.

A StackOverflowError simply signals that there is no more memory available.

Java interview questions on exception handling

Sign Up/ Sign In
Ask a Question


Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at hr@codesjava.com.

Development

We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on hr@codesjava.com.

Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki