摘要: 递归 简单来说就是自己调用自己,递归有助于编程者解决问题 案例 打印问题: public static void main(String[] args) { test(4); } public static void test(int n){ if (n >2){ test( n-1); } Sys 阅读全文
posted @ 2022-12-01 16:17 wiselee/ 阅读(19) 评论(0) 推荐(0) 编辑