Delegation In Kotlin
kotlin support delegation pattern using by keyword. it allows the derived class to access all the implemented public methods of an interface through a specific object.
interface Base {
fun print()
}
class BaseImpl(val x:String):Base{
overrid...
sanjayprajapat.hashnode.dev1 min read