What is output of the following code?
def main(args: Array[String]) { val capitals = Map("France" -> "Paris", "Japan" -> "Tokyo") println("capitals.get( \"France\" ) : " + capitals.get( "France" )) println("capitals.get( \"India\" ) : " + capitals.get( "India" )) }
Correct Answer: Some(Paris),None
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions