2016年4月10日
摘要: 自动化测试 测试所有测试类 添加进自动化测试 阅读全文
posted @ 2016-04-10 11:27 oldcowstruggle 阅读(229) 评论(0) 推荐(0) 编辑
  2016年4月9日
摘要: 1 2 11 12 13 com.mysql.jdbc.Driver 14 15 16 jdbc:mysql://localhost:3306/ssh2 17 18 19 root 20 ... 阅读全文
posted @ 2016-04-09 17:02 oldcowstruggle 阅读(207) 评论(0) 推荐(0) 编辑
  2016年4月8日
摘要: 阅读全文
posted @ 2016-04-08 16:14 oldcowstruggle 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 所谓递归,就是方法调用自身。对于递归模式来说,要有一个出口来让递归结束,避免出现死循环。 实例全排列: 从n中拿出m个元素进行排列,当n==m时为全排列。 利用递归就是:把n个元素轮流放入第一个位置,剩余位置全排列(等同于(n-1)全排列+剩余的元素) 设置出口:当n-1等于1时说明递归到最后一个元 阅读全文
posted @ 2016-04-08 15:08 oldcowstruggle 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 自定义2个接口subject1,subject2 定义2个真实的RealSubject1(implements subject1),RealSubject2(implements subject1,subject2) 创建一个invocationHandler 创建测试类 执行结果: 执行前real 阅读全文
posted @ 2016-04-08 01:16 oldcowstruggle 阅读(188) 评论(0) 推荐(0) 编辑
  2016年4月7日
摘要: 自定义MyAnnotationTest 执行结果: @com.zhanghaobo.annotation.MyAnnotationTest(name=HELLOWORLD)注解修饰调用@com.zhanghaobo.annotation.MyAnnotationTest(name=WELCOM) 阅读全文
posted @ 2016-04-07 23:57 oldcowstruggle 阅读(136) 评论(0) 推荐(0) 编辑