Questions tagged [default-method]

Java default methods allow you to add methods to interfaces.

Filter by
Sorted by
Tagged with
13
votes
1answer
817 views

Java Default Method Usage

For decades it's been the case that interfaces were only only (only) for specifying method signatures. We were told that this was the "right way to do things™". Then Java 8 came out and said: ...