![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
billyli8866
这个作者很懒,什么都没留下…
展开
-
IO
write a serialized object to a file FileOutputStream filestream原创 2014-07-17 13:16:41 · 316 阅读 · 0 评论 -
关于Set
HashSet可以除掉重复的element,但是原创 2014-07-16 18:31:32 · 268 阅读 · 0 评论 -
wildcards
Array types (Animal[] animals) are checked at runtime, but collection type (ArrayList) checks happen only when you compile(runtime就不再查了). 可以用wildcards的形式, public void test (ArrayList list) pu原创 2014-07-17 09:44:45 · 389 阅读 · 0 评论 -
print与toString
JAVA中 使用System.out.print()时,自动调用了Object的 toString()method,原创 2014-07-16 16:01:55 · 397 阅读 · 0 评论 -
一个问题
String str = "a"; str = "b"; 因为String是immutable的变量,及时原创 2014-07-28 17:53:18 · 328 阅读 · 0 评论