随笔
Layman丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
工厂模式Demo
工厂模式: 工厂模式:用于程序间的解耦合。 耦合:程序间的直接相互调用 初级工厂 //BeanFactory.class public class BeanFactory { public static ICustomerService getCustomerService(){ try { return (ICustomerSe...原创 2018-10-08 20:37:20 · 477 阅读 · 0 评论 -
什么是耦合
什么是耦合? 程序间的调用关系,一个系统的程序间不能不存在耦合关系,或高或低或松散。 public class JdbcDemo1 { public static void main(String[] args) throws SQLException { // TODO Auto-generated method stub //1.组册驱动 DriverMan...原创 2018-10-22 14:02:21 · 330 阅读 · 0 评论
分享