摘要: 递归:指在当前方法内调用自己的这种现象。 public static void a(){ a();} 注意事项: 递归必须有出口 就算有出口, 执行的次数也不能过多 package com.itheima._03recursive; /* 递归求阶乘 阶乘 n的阶乘 n! = n * (n-1) * 阅读全文
posted @ 2021-05-26 21:14 步江伍德 阅读(16) 评论(0) 推荐(0)
摘要: package com.cntaiping.tpi.claimplat.serviceapi.Test8.Lambda; public class Demo01 { private static boolean b = false; public static void main(String[] 阅读全文
posted @ 2021-05-26 11:15 步江伍德 阅读(54) 评论(0) 推荐(0)