MyInterface¶
Constructors¶
MyInterface¶
fun MyInterface(): MyInterface
A fake constructor that instantiates a MyInterface instance.
Implementation details¶
It uses the Example class.
Functions¶
fromInterface1¶
open fun fromInterface1(): String
This is a method from the interface MyInterface.
It is not overridden by the class Example.
fromInterface2¶
abstract fun fromInterface2(): String
This is a method from the interface MyInterface.
It is override by the class Example.