Skip to content

Instantly share code, notes, and snippets.

@tomaszperek
Last active August 29, 2015 14:22
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