O'Reilly logo
  • saeed Abooleet thinks this is interesting:

cala> val s1: String = null s1: String = null scala> val s2: String = null s2: String = null scala> s1.toUpperCase == s2.toUpperCase

From

Cover of Scala Cookbook

Note

calling a String a null