摘要: http://www.cnblogs.com/likailan/p/3368030.html 阅读全文
posted @ 2013-10-21 17:02 glt66 阅读(99) 评论(0) 推荐(0) 编辑
摘要: http://kb.cnblogs.com/page/190321/ 阅读全文
posted @ 2013-10-15 11:12 glt66 阅读(118) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/fnng/ 阅读全文
posted @ 2013-09-29 15:13 glt66 阅读(94) 评论(0) 推荐(0) 编辑
摘要: //一个类只能产生一个实例Single@35ce36,这就叫单态设计classSingle{//在类内部产生自己的实例化对象,只实例化一次privatestaticSingle s =newSingle();privateSingle(){}publicstaticSingle getInstance(){//可以在类的内部产生自己的实例化对象returns;}publicvoidprint(){System.out.println("Hello World~~~");}}publicclassDemo27{publicstaticvoidmain(String args[ 阅读全文
posted @ 2013-09-17 11:18 glt66 阅读(136) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/liuzhong/archive/2011/08/12/2135718.html在编写类的时候一定要记住一个原则:任何的输出绝对不能在类中完成,所有要输出的内容在类中只是把值返回来,交给调用处输出 阅读全文
posted @ 2013-09-16 17:10 glt66 阅读(237) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/tonylp/archive/2013/03/20/2971272.html 阅读全文
posted @ 2013-09-16 17:05 glt66 阅读(159) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/jisi5789/archive/2013/04/05/3001591.html 阅读全文
posted @ 2013-09-13 17:12 glt66 阅读(300) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/kjfcpua/article/details/5262947 阅读全文
posted @ 2013-09-13 16:04 glt66 阅读(154) 评论(0) 推荐(0) 编辑
摘要: http://bbs.csdn.net/topics/330157765 阅读全文
posted @ 2013-09-13 11:05 glt66 阅读(99) 评论(0) 推荐(0) 编辑
摘要: http://dev.yesky.com/304/7559804.shtml 阅读全文
posted @ 2013-09-12 09:41 glt66 阅读(108) 评论(0) 推荐(0) 编辑