ITeye博客

one java interview question

standalone · 2012-07-02 18:03 · java · 编程语言 · Markdown

int f(int n){ return n*f(n-1); }

System.out.print(f(100));

what's the output?

评论(1)

  1. #1 楼 · standalone · 2012-12-19 17:02

    Exception in thread "main" java.lang.StackOverflowError

评论功能维护中,当前仅展示历史评论。