HashSet allows only one null key, but HashMap can allow one null key + multiple null values. That's all on difference between HashSet and HashMap in Java.
確定! 回上一頁