Learn Kotlin for Android: Interfaces (Lesson 20)

preview_player
Показать описание
In this video we will be covering the basics of interfaces in Kotlin. Leave a comment if you're confused about anything
​​​​
Рекомендации по теме
Комментарии
Автор

I agree with @BunsenBurns, there is no consistency in your example, it's really bad honestly... Banana has sugar, fun hello(), fun writeSomething(), super confusing. Try to make it more structured next time mate...

younghirsch
Автор

What's the difference between an Abstract Class and an Interface?

RoshitGopinath
Автор

what strange choices of classes... why have apple implement banana? wouldn't it make far more sense to have defined a fruit superclass or interface?

BunsenBurns