图片来源于:斯坦福大学《编程方法学》课件中(http://cs106a.stanford.eud) 转载于:https://www.cnblogs.com/joma/archive/2012/05/14/2500410.html