Category: Programming

0

Kotlin – Getter & Setter

Getter and setter implementation on Kotlin more looks like C# style than Java. If Java separate getter and setter in spesific function, Kotlin do it on their property directly. For example you can write...