00: Top 50+ Core Java Interview questions answered – Q43 to Q54

Q43. What can you tell about the performance of a HashMap compared to a TreeMap? Which one would you prefer? A43. A balanced tree does have O (log n) performance. The TreeMap class in Java maintains key/value objects in a…

Members Only Content

Log In Register Home


800+ Java & Big Data Interview Q&As

Top