摘要:
1、使用循环实现 public static int add (int num) { int result = 0; for( int i = 1; i <=num ; i++) { result += i; } return result; } 2、用递归实现 /* * 令f(100)=1+2+3 阅读全文
摘要:
之前刚开始学做项目,src下的package的包的显示感觉让我很不舒服 例如: src com.han.struts com.han.spring com.lu.struts —————————— 我想要的效果———————— src com han struts spring lu spring 阅读全文