Thursday, April 25, 2019

Scala Type Hierarchy

- AnyVal is for value type
- AnyRef is for reference type
- Null is a bottom type for reference types
- Nothing is the general bottom type

No comments:

Post a Comment