Created
September 3, 2017 17:02
-
-
Save LazaroIbanez/5beea60cfc9d08ff5a006f22042f7961 to your computer and use it in GitHub Desktop.
D must implement getId
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class D implements Interface1, Interface2 { | |
public String getId() { | |
return “1111”; | |
} | |
} | |
interface Interface1 { | |
public default String getId() { | |
return “0000”; | |
} | |
} | |
interface Interface2 { | |
public default String getId() { | |
return “AAAA”; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment