Answer Posted / 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 |
Post New Answer View All Answers