Explain what is unit in scala?
Answer / Gaurav
"Unit is the type used to represent operations that do not return a value. It can be thought of as a void type equivalent in Scala, represented by () or Unit object."
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell the advantages of companion objects when used in scala?
Explain the advantage of scala over other programming languages?
Explain how to create arrays?
What is a applicative?
What is the difference between :: and #:: in scala?
What is the result of x+y*z and why?
What is exception propagation in scala?
Explain what is Scala?
What is scala and why it is used?
What is Option in Scala? What are Some and None? What is Option/Some/None Design Pattern in Scala?
What is a multiline expression in scala?
Is scala better than java?