Java questions: == vs equals, Object methods, TreeSet vs SortedSet, string pool vs heap
Filed under BlackRock
The question
Core Java questions on == versus equals(), methods of the Object class, TreeSet versus SortedSet, how a String is stored and the string pool versus heap memory.
No write-up yet. Related questions below have one.
Related BlackRock questions
Collected from public candidate posts and coding forums. Updated Nov 2026.