Package edu.pdx.cs410J.java8
Class DefaultMethods.WhatHappensWithTwoInterfacesWithSameDefaultMethod
java.lang.Object
edu.pdx.cs410J.java8.DefaultMethods.WhatHappensWithTwoInterfacesWithSameDefaultMethod
- All Implemented Interfaces:
DefaultMethods.AnotherInterfaceWithDefaultMethod
,DefaultMethods.InterfaceWithDefaultMethod
- Enclosing class:
- DefaultMethods
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
If you don't override this method, this class won't compile because the compiler cannot determine whichdefaultMethod
implementation should be associated with this class.
-
Constructor Details
-
WhatHappensWithTwoInterfacesWithSameDefaultMethod
-
-
Method Details
-
defaultMethod
If you don't override this method, this class won't compile because the compiler cannot determine whichdefaultMethod
implementation should be associated with this class.- Specified by:
defaultMethod
in interfaceDefaultMethods.AnotherInterfaceWithDefaultMethod
- Specified by:
defaultMethod
in interfaceDefaultMethods.InterfaceWithDefaultMethod
-