Prevent duplicate user entries in HashSet based on case-insensitive names
Filed under Oracle
The question
Given a custom User class containing Name, EmpID, and Salary stored in a HashSet, explain how and where to modify the class logic to treat case variations of names (e.g., John vs john) as duplicate entries.
No write-up yet. Related questions below have one.
Related Oracle questions
Collected from public candidate posts and coding forums. Updated Nov 2026.