10: Q66 – Q70 Pattern matching in Scala Interview Q&As

Q66. What is the purpose of pattern matching in Scala? A66. It is for the “flow control”. Most imperative languages support “if-then-else”, case statements, and loops like while, for, foreach, etc. Scala does support some of these, but the most…

Members Only Content

Log In Register Home


800+ Java & Big Data Interview Q&As

Top