Join Slack
Powered by
<@U589QURRQ> commented on <@U4JN4S343>’s file <htt...
# announcements
u
user
06/19/2017, 10:56 PM
@diesieben07
commented on
@sherry.yuan
’s file
https://kotlinlang.slack.com/files/U4JN4S343/F5X1CCKSB/-.txt
: Yes, it is. In this case you would use
A.NUMBER
, which is short for
A.Companion.NUMBER
. If you name the companion object (e.g.
companion object MyConstants
) the long-hand syntax would change to
A.MyConstants.NUMBER
.
-.txt
2
Views
Open in Slack
Previous
Next