A function cannot be declared inside an interface.
A subroutine cannot be declared inside an interface.
A Method Table will not be created for class MyClass.
The definition of fun1() in class MyClass should be void IMyInterface.fun1().