Write a program that throws a StackOverflow Error or the equivalent in the language used. For example, in java, the program should throw java.lang.StackOverflowError
.
You are not allowed to define a function that calls itself or a new class(except the one containing main
in java). It should use the classes of the selected programming language.
And it should not throw the error explicitly.
def s{def t=s;t}
? \$\endgroup\$