I have an interface and its 2 or more implementations say,
public interface IProcessor { default void method1() { //logic } default void method2() {