Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What value does this code return?
Home
Scala - The Diatonic Syallable
What value does this code return?
0
votes
asked
Aug 13, 2022
in
Scala - The Diatonic Syallable
by
AdilsonLima
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
scala
interview
questions
and
answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 13, 2022
by
AdilsonLima
Correct answer is :- 1
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+2
votes
Q: Which of these code snippet is the correct format to run SQL queries?
asked
Jun 30, 2019
in
Spark Sql
by
anonymous
spark
sql
questions
and
answers
faq
hadoop
big
data
tuto
0
votes
Q: IOT questions and answers pdf
asked
Aug 27, 2022
in
IOT Prime
by
Robin
iot
questions
answers
interview
0
votes
Q: AWS question answer
asked
Aug 27, 2022
in
AWS
by
Robin
aws
interview
questions
answers
0
votes
Q: Linux patching interview questions
asked
Aug 27, 2022
in
Linux
by
Robin
linux-patching
interview
questions
answers
+1
vote
Q: ORACLE SQL MCQ Questions and Answers
asked
Feb 19, 2023
in
Oracle
by
GeorgeBell
oracle
sql
mcq
questions
and
answers
+1
vote
Q: Which supports cost-based optimization and rule-based optimization
asked
Jun 30, 2019
in
Spark Sql
by
anonymous
spark
sql
questions
and
answers
faq
hadoop
big
data
tutorial
+1
vote
Q: To implement a custom untyped user-defined aggregation function, the user has to extend the which class
asked
Jun 30, 2019
in
Spark Sql
by
anonymous
spark
sql
questions
and
answers
faq
hadoop
big
data
tutorial
+1
vote
Q: Which is true about DataSource API
asked
Jun 30, 2019
in
Spark Sql
by
anonymous
spark
sql
questions
and
answers
faq
hadoop
big
data
tutorial
+1
vote
Q: Which is the entry point used in Spark 2.0?
asked
Jun 30, 2019
in
Spark Sql
by
anonymous
spark
sql
questions
and
answers
faq
hadoop
big
data
tutorial
+1
vote
Q: The SQL queries/API calls are converted to -------------------------
asked
Jun 30, 2019
in
Spark Sql
by
anonymous
spark
sql
questions
and
answers
faq
hadoop
big
data
tutorial
...