What is the difference between a default (interface) method and a regular abstract method, and how do default methods affect interface evolution?

Last updated 5 July 2026

  • An abstract method has no body and every implementer must supply one. Adding one to a published interface breaks existing implementers.

  • A default method (default in Java) carries a body in the interface. Implementers inherit it and may override it, so interfaces can evolve backwards-compatibly (e.g. Java 8 adding stream() to Collection).

  • Caveat: if two interfaces supply the same default method (diamond problem), the class must override it explicitly.

  • https://medium.com/@programmingsolutions750/the-evolution-of-java-interfaces-after-java-8-from-default-methods-to-sealed-types-bbd40d6da912
  • https://www.geeksforgeeks.org/java/default-methods-java/
  • https://www.baeldung.com/java-static-default-methods
All Object-Oriented Programming interview questions