91

A few facts about Companion objects – Kotlin Academy

 6 years ago
source link: https://blog.kotlin-academy.com/a-few-facts-about-companion-objects-37e18429b725?gi=3911160fe7ed
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
One of the big changes that Kotlin brought to Java developers is the absence of the static modifier. Contrary to Java, Kotlin classes don’t really allow you to declare static fields or methods…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK