1.

How Many Values Of Type Unit Have In Scala?

Answer»

In Scala, Unit is something SIMILAR to JAVA’s void keyword. It is used to represent “No VALUE exists”. It has ONE and only one value that is ().

In Scala, Unit is something similar to Java’s void keyword. It is used to represent “No value exists”. It has one and only one value that is ().



Discussion

No Comment Found