in Scala - The Diatonic Syallable by
Q:
What value does this code return?

val m1 = Map("a"->1,"b"->2,"c"->3)

m1("a")

 a. a

 b. 2

 c. b

 d. 1

1 Answer

0 votes
by
Correct answer is :- 1

Related questions

+1 vote
asked Jun 30, 2019 in Spark Sql by anonymous
+1 vote
0 votes
asked Sep 19, 2019 in Interview Question by Robin
0 votes
0 votes
asked Aug 13, 2022 in Scala - The Diatonic Syallable by AdilsonLima
0 votes
0 votes
asked Aug 27, 2022 in CommVault by Robin
...