What happens if a class implements two interfaces that both declare the same default method with identical signatures?
-
A
The first interface's method is silently chosen
-
B
The class inherits both methods simultaneously
-
C
A compilation error occurs unless the class overrides the method
-
D
A runtime exception is thrown