Java Collections Quiz

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

इंटरमीडिएट 5 क्विज़ · 50 सवाल लगभग 31 मिनट
0/5पास कैटेगरी एग्ज़ाम 20 मिले-जुले सवाल। 80% पर सर्टिफ़िकेट।
टैग:
1 ArrayList आसान Add, read, replace and remove elements in a Java ArrayList and avoid the immutable-list traps. #collections#list 10 सवाल · ~5 मिनट शुरू नहीं किया शुरू करें
2 HashMap मीडियम Store, update and look up key-value pairs in a Java HashMap and avoid the null and hashCode traps. #collections#map 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
3 HashSet मीडियम Keep unique values in Java sets and understand how equals and hashCode decide what a duplicate is. #collections#set 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
4 Iterators & ConcurrentModificationException कठिन Remove elements while looping without ConcurrentModificationException, skipped items or surprises. #collections#gotchas 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
5 Comparable & Comparator मीडियम Sort Java objects by natural order or custom rules with Comparable, Comparator and its helper methods. #sorting#comparator 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें