Тести
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
==
:
Мова контенту: English
Русский
What will be the result of comparing Lists using == function? val a = List(1, 2, 3) val b = List(1, 2, 3) a == b
==
What will be the result of comparing collections? mutable.Seq(1,2,3) == immutable.Seq(1,2,3)
==
What will be the result of comparing List and Set? List(1,2,3) == Set(1,2,3)
==
What will be the result of comparing List with Vector, HashSet with TreeSet? List(1, 2, 3) == Vector(1, 2, 3) // 1 HashSet(1, 2) == TreeSet(2, 1) // 2
==
What will be the result of comparing empty lists (Nil)? val a: List[String] = Nil val b: List[Int] = Nil a == Nil // 1 a eq Nil // 2 b == Nil // 3 b eq Nil // 4 a == b // 5 a eq b // 6
==
← Попередня
1
Наступна →
Зареєструйся Зараз
або
Підпишись на майбутні тести