摘要: 测试环境 eclipse + jdk1.6.0_25 } 运行不到一分钟后 at com.jd.o2o.substring.SubMain.main(SubMain.java:18) 好吧,内存溢出了 查看jdk6 substring源码实现,看看为什么?我们集合中也只存储了两个字符串,不至于说会内 阅读全文
posted @ 2016-05-01 18:22 6小贝 阅读(889) 评论(2) 推荐(0) 编辑
摘要: DamInterface; public interface DamInterface { public void sayHello(); public int sayHelloa(); } DamImpl; public class DamImpl implements DamInterface  阅读全文
posted @ 2016-05-01 17:22 6小贝 阅读(741) 评论(0) 推荐(1) 编辑