Check out example codes for "kotlin interface". It will help you in understanding the concepts better.

Code Example 1

fun main() {
    Child().hairColour() /// brown
    Child().eyeColour() /// blue
}


interface Parent {
    val eyeColour: String
        get() = "blue"
    val hairColour: String
        get() = "black"

    fun eyeColour() {
        println(eyeColour)
    }

    fun hairColour() {
        println(hairColour)
    }
}


class Child : Parent {
    override val hairColour = "brown" 

}

Learn ReactJs, React Native from akashmittal.com