1.

What Are Option, Some And None In Scala?

Answer»

‘Option’ is a Scala GENERIC type that can EITHER be ‘some’ generic value or none. ‘Queue’ often uses it to represent PRIMITIVES that may be null.

‘Option’ is a Scala generic type that can either be ‘some’ generic value or none. ‘Queue’ often uses it to represent primitives that may be null.



Discussion

No Comment Found