Groovy and Grails Practice Test
Groovy and Grails Groovy Language Fundamentals & Metaprogramming
In Groovy, what does the `?.` operator do?
Select your answer
A
Performs a strict equality check
B
Safely navigates null references, returning null instead of throwing NullPointerException
C
Declares an optional method parameter
D
Casts an object to a nullable type
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →