How many values of type Unit have in Scala?
Answer / Chandra Mani Pal
The value of type Unit in Scala is only one, representing the absence of a value. It's equivalent to the void keyword in Java or C#.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is try catch in scala?
What do you mean by implicit parameters?
How do we make a call to a private primary constructor in scala?
What is the best language to use with Play framework: Scala or Java?
What is the breakable method in scala?
How to install scala? Explain
What is scala programming used for?
When compare to Normal Class, What are the major advantages or benefits of a Case-class?
What do you understand by tail recursion in scala ?
What is formula tail in scala?
How scala is different from java?
What is a function literal in scala?