(+91) 113 551 1687 contact@syncsas.com New Delhi

Tag Archives for Constants & Companion Object in Kotlin

How to work with Constants & Companion Object in Kotlin

There has recently been a discussion online about the best approach for storing global constants, or public static final fields in Javaspeak. This short article describes available options and points out some of the pitfalls…