collection study:
Using HashMap instead of HashTable because of efficiency.
Set, List, Map, ArrayList instead of Vector
Parameters of Set: All elements are unique, no repeated element;
Parameters of List: Be sorted;
Particularity of class "String" and the method "toString()"
Enforce the two methods "hashcode()" and "equals()" is very important to your own objects when you want to use HashMap to instore them.
IO study:
RandomAccessFile is out of the inheritance system of InputStream and OutputStream.
泛型
java的泛型不是协变的,数组是协变的。也就是说"List<Parent> list 不能引用List<Child>的对象"
泛型通配符:List<?> list, <?>是所有泛型的父类,可以弥补泛型不能协变带来的不便
java的泛型类型参数只能是Object?可以是基本类型么?