class Animal
{
Animal e = new Animal();
}

Looks like a recursive call. Each new Animal creates another new Animal which creates another etc until stack is full.