Java集合框架圖 1. Collection 2. Map
1.首先List接口,直接繼承Collection接口,其定義的方法列表如下: - int size(); // 返回list中的元素數量 - boolean isEmpty(); // 判斷list是否爲空 - boole