The declaration of an interface with a default function implementation is easy. Instead of declaring the function header, we need to include its body too:
interface MyInterface { fun foo() { // default function body }}