Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
String? x = "Some String"
Integer l = x.size // compilation error
Integer? l = x.size // compilation error
Integer? l = x?.size // this works.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment