Đang mở hậu trường...
1 câu hỏi kỹ thuật chủ đề Ngôn ngữ & OOP, song ngữ Anh-Việt, có đáp án và giải thích.
A Java service stores customer records in a HashSet<Customer>. Two Customer objects with the same customerId must be treated as duplicates, but the set currently keeps both objects. What is the most appropriate fix?