July 2017
Intermediate to advanced
796 pages
18h 55m
English
In Scala, it's a good practice to initialize the variables once declared. However, it is to be noted that uninitialized variables aren't necessarily nulls (consider types like Int, Long, Double, Char, and so on), and initialized variables aren't necessarily non-null (for example, val s: String = null). The actual reasons are that:
Read now
Unlock full access