In your Interview i1 = new Interview();
It says that each Interview
has its own Interview
object, which belongs to it, and therefore, as soon as you call new Interview()
in main
, the system starts trying to create a new Interview
for this and a new Interview
for this ...
It does not even make it constructor (explicit), because the system first shuts down in the endless chain of the new Interview
. You will almost certainly remove the i1
field from the Interview
class.
source share