Java Collections-Quizze

Use Java's everyday collections with confidence: ArrayList, HashMap and HashSet, safe removal while iterating, and sorting with Comparable and Comparator.

Fortgeschritten 5 Quizze · 50 Fragen etwa 31 Minuten
0/5bestanden Kategorieprüfung 20 gemischte Fragen. Mit 80% gibt es ein Zertifikat.
Tags:
1 ArrayList Leicht Add, read, replace and remove elements in a Java ArrayList and avoid the immutable-list traps. #collections#list 10 Fragen · ~5 Min. Nicht begonnen Starten
2 HashMap Mittel Store, update and look up key-value pairs in a Java HashMap and avoid the null and hashCode traps. #collections#map 10 Fragen · ~6 Min. Nicht begonnen Starten
3 HashSet Mittel Keep unique values in Java sets and understand how equals and hashCode decide what a duplicate is. #collections#set 10 Fragen · ~6 Min. Nicht begonnen Starten
4 Iterators & ConcurrentModificationException Schwer Remove elements while looping without ConcurrentModificationException, skipped items or surprises. #collections#gotchas 10 Fragen · ~8 Min. Nicht begonnen Starten
5 Comparable & Comparator Mittel Sort Java objects by natural order or custom rules with Comparable, Comparator and its helper methods. #sorting#comparator 10 Fragen · ~6 Min. Nicht begonnen Starten