Why this program gives this exception
"Exception in thread "main" java.lang.StackOverflowError at com.Test.<init>(Test.java:5)"
Code:
public class Test {
Test t = new Test();
public static void main(String[] args) {
Test t = new Test();
}
}