No it won’t work.
Or at least, it won’t work unless your interface implements
the real Runnable
interface.
Java inheritance is NOT based on duck typing. Two unrelated interfaces with the same method signatures are not type compatible in the Java type system.
Reference: