What is the use of ‘???’ in Scala-based Applications?
Answer / Aprajita Devi
'???' in Scala is called a pattern matching placeholder and is used in pattern matching expressions to represent any value of any type. It allows for more flexible pattern matching, as it can match against any value when other patterns fail.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are major differences between Java-Based and Scala-Based Maven Project’s structure?
What is the access modifier in scala?
What is case class? What is case object? What are the Advantages of case class?
What are the Advantages of Functional Programming (FP) or Advantages of Pure Functions?
What is auxiliary constructor in scala?
Explain streams in scala?
Who is the father of Scala?
What is bitset in scala?
What is 'Application' in Scala or What is Scala Application? What is 'App' in Scala? What is the use of Scala’s App?
Explain implicit classes with syntax?
What language is scala written in?
Explain que?