就實務面上,兩者都應該認識,而認識 Collections 的 unmodifiableXXX() 方法,也會比較清楚瞭解到,為何JDK9 以後在 List 、 Set 、 Map 上要提供 of ...
確定! 回上一頁