Does introducing a default method to an interface really preserve back-compatibility?
Although adding a default method with the same name in the two interfaces would make the code fail to compile, but once you resolve the compilation error, the binaries obtained after compiling both the interfaces, and the class implementing the interfaces, would be backward compatible. So, the compatibility is really about binary compatibility. This is … Read more