By passing the interface you are creating the opportunity to pass all the classes which implements the interface. But in case1 you can only pass the MyClass
and its subclasses.
For example think about the following case
public class YourClass implements MyInterface
{
public void foo()
{
doJob();
}
}
Now in case2 you can pass both the instance of MyClass and YourClass. but in case1 you can't.
Now, what is the importance of it?
In OOP it is recommended to program to the interface instead of class. So if you think about good design there will be no case1. Only case2 will do the job for you.