public boolean test() {
Integer test = null;
return test == 12;
}
Java:
a) false
b) NullPointerException
c) some weird RuntimeException
Groovy:
a) false
b) NullPointerException
c) some weird RuntimeException
d) StackOverFlowException
Correct Answers: java: b groovy: a