Scala Class Hierarchy...
- Any #247
- Available Methods #246
- ==
- !=
- equals
- ##
- hashCode
- toString
- AnyVal (Value Class)
- All primitive types falls under this category
- It is also possible to create our own AnyVal types #254
- ----------------
- Double
- Float
- Long
- Int
- RichInt(Booster Class) ; Contains Implicit conversion methods...#249
- Short
- Byte
- Char
- Boolean
- Unit
- Is represented by () #247
- Is equivalent to Void
- ...
- ----------------
- AnyRef (Reference Classes) (Is the equivalent of Object in Java) #250
- String
- Iterable
- Seq
- List
- ...
- ----------------
- Useful Methods
- ----------------
- == #252
- eq
- Bottom Classes
- Null
- Is a subclass of every other Reference Classes
- Used for null reference #252
- Nothing
- Is a subclass of every other class
- Can be used to signal abnormal termination etc... #253