Does the following code run without an exception and what does the following code print out?
def isNull = null isNull += null println isNull.getClass()
Groovy handles null in a different way…
Does the following code run without an exception and what does the following code print out?
def isNull = null isNull += null println isNull.getClass()
Hi, I hadn’t read this blog yet, but yesterday I posted a similar blog item over here: http://www.jworks.nl/blog/show/81/groovy-and-null
It got me surprised too!
Erik