https://kotlinlang.org logo
#announcements
Title
# announcements
s

segfalt

09/10/2017, 10:54 PM
What is the difference between
Type!
and
Type?
-- I seem to see a lot of the former when interoping with Java code.
d

diesieben07

09/10/2017, 10:55 PM
d

Dalinar

09/11/2017, 12:43 AM
I'm still confused as to when you have to explicitly declare the platform type returned by your
fun
and when it is optional, seems to me it is not every time?
e

edwardwongtl

09/11/2017, 3:06 AM
This type exist because in Java everything can be null, it is always save to make them as
Type?
if you are not sure.
2 Views