Extending on interfaces, you’ll see that not every conventional rule must be followed. The Kotlin language allows you to build code that makes little logical sense but could help define behaviors.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.