stack overflow error, i want to call a method within itself not using recursion tho

Printable View