Is it allowed to have map with keys of different types?
val myMap = Map("Ann Arbor" -> "MI", 49931 -> "MI")

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Scala quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes