public static void main(String[] args) {
Person ncx = new Person(1, "ncx", 22);
Person czf = new Person(2, "czf", 24);
Person ll = new Person(3, "ll", 21);
HashMap<Object, Object> map = new HashMap<>();
map.put("l",ncx);
System.out.println(map.get("l"));
map.put("l",czf);
System.out.println(map.get("l"));
}
public static void main(String[] args) {
HashSet<Object> hashSet = new HashSet<>();
boolean add1 = hashSet.add(1);
System.out.println(add1);
boolean add = hashSet.add(1);
System.out.println(add);
}