interface AInterface{} fun interfaceReturningFunction(): Unit { return AInterface // ! - not AClass() or AInterface(), but only class name, without parenthesis. }