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 |
Mention how scala is different from java?
Write a few frameworks of scala?
What is tail recursion in scala?
What is method overriding in scala?
Make a case for ‘Scala higher order’ functions?
Difference between Scala’s Inner class and Java’s Inner class?
Differentiate between array and list in scala.
What is the use of 'object' keyword in Scala? How to create Singleton objects in Scala?
What are higher-order functions in scala?
What does f method in scala string interpolation?
Why scala is faster than java?
What is for-comprehension in scala?