[2] Scala Development Tutorial — Scala Basics: Data Types
From the table above we can see that everything in Scala is an object — there are no primitive types like in Java. Some concepts also differ from Java: Scala includes a few notions of 'nothingness' (Null, null, Nil, Nothing, None, and Unit). Null is a trait (if you're not familiar with traits, think of it as somewhat like an abstract class in Java). There does exist an instance of null.








