Default method in interface As you know that an Interface in java can have only Abstract methods and a class,…