29.7.2020 |

Groovy - Java Quiz

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

49o9u0

Zur Übersicht

Mehr vom DevSquad...

Umut Tufanoglu

Showcase Software Tool ResponsivelyApp

Simon Jakubowski

LocalDate: Stream<LocalDate> datesUntil(...)