Join Slack
Powered by
hi everyone, what is difference between companion ...
# getting-started
h
hqbao
06/29/2017, 6:46 AM
hi everyone, what is difference between companion object and object keyword? tks so much 9 replies class AB { private val NAME = “name” companion object { fun print() { AB().NAME } } }
2
Views
Open in Slack
Previous
Next