Java Methods 3rd AP edition Skylight Publishingjava方法第三AP版天窗出版.pptVIP

  • 7
  • 0
  • 约4.94千字
  • 约 13页
  • 2017-03-07 发布于上海
  • 举报

Java Methods 3rd AP edition Skylight Publishingjava方法第三AP版天窗出版.ppt

Java Methods 3rd AP edition Skylight Publishingjava方法第三AP版天窗出版

Objectives: Learn about recursion Learn to interpret and write recursive methods Properties of Algorithms Compactness: an algorithm can use iterations or recursion to repeat the same steps multiple times Generality: the same algorithm applies to any “size” of task or any input values Abstractness: an algorithm does not depend on a particular computer language or platform (although it may depend on the general computing model) Recursion A recursive solution describes a procedure for a particular task in terms of applying the same procedure to a similar but smaller task. Must have a base case

文档评论(0)

1亿VIP精品文档

相关文档