All About StackOverFlowError in Java

StackOverFlowError is thrown from an application when an application recursive too deep and in an uncontrollable manner. This happens when the stack section of the JVM is full and can not hold any more entry.
The class StackOverFlowError  is defined as :

public class java.lang.StackOverFlowError extends java.lang.VirtualMachineError{
public StackOverFlowError();
//constructs an empty StackOverFlowError object that is an object with no message specified.
public StackOverFlowError(String message);
//constructs an StackOverFlowError object with the message specified.

All About StackOverFlowError in Java All About StackOverFlowError in Java Reviewed by Animesh Chatterjee on September 20, 2018 Rating: 5

No comments:

Powered by Blogger.