Quizzes de Java Collections

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

Intermediário 5 quizzes · 50 perguntas cerca de 31 minutos
0/5aprovado Prova da categoria 20 perguntas variadas. Com 80% você ganha um certificado.
Tags:
1 ArrayList Fácil Add, read, replace and remove elements in a Java ArrayList and avoid the immutable-list traps. #collections#list 10 perguntas · ~5 min Não iniciado Começar
2 HashMap Médio Store, update and look up key-value pairs in a Java HashMap and avoid the null and hashCode traps. #collections#map 10 perguntas · ~6 min Não iniciado Começar
3 HashSet Médio Keep unique values in Java sets and understand how equals and hashCode decide what a duplicate is. #collections#set 10 perguntas · ~6 min Não iniciado Começar
4 Iterators & ConcurrentModificationException Difícil Remove elements while looping without ConcurrentModificationException, skipped items or surprises. #collections#gotchas 10 perguntas · ~8 min Não iniciado Começar
5 Comparable & Comparator Médio Sort Java objects by natural order or custom rules with Comparable, Comparator and its helper methods. #sorting#comparator 10 perguntas · ~6 min Não iniciado Começar