To be frank, in my early programming adventures, i never thought too much about the stack. 'Just another theory thing', i thought. But then, i learned my lessons.
Now, there ain't a lot of ways to cause stack overflows, but if you are really feeling itchy, the following mistake will certainly create it.
public void methodB() { methodA(); } | -- Call one of these methods -- | public void methodA() { methodB(); } |
No comments:
Post a Comment