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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidIf you don't override this method, this class won't compile because the compiler cannot determine whichdefaultMethodimplementation 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 whichdefaultMethodimplementation should be associated with this class.- Specified by:
defaultMethodin interfaceDefaultMethods.AnotherInterfaceWithDefaultMethod- Specified by:
defaultMethodin interfaceDefaultMethods.InterfaceWithDefaultMethod
-