Can an Error be handled?
<pre><code>public class StackTest {
    public static void main(String[] args) {
        show();
        System.out.print("welcome back to maain");
        display();
    }
    static void show(){
        try{
            show();    //recursion
        }catch(StackOverflowError e){
            System.out.print("error cought");
        }
    }
    static void display(){
        System.out.print("after stack overflow error");
    }
}
</code></pre>

<p>In this program an StackOverflowError occurs but gets handled and the program does not terminated abnormally. why?
You can see this at <a href="http://ideone.com/vwSav" rel="nofollow">http://ideone.com/vwSav</a></p>
