ควิซ Java Collections

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 นาที ยังไม่เริ่ม เริ่ม