Last active
November 13, 2018 11:18
-
-
Save SungjinYoo/5c0cf58103faaf19600a9a99ea76c90d to your computer and use it in GitHub Desktop.
Sample functional interface definition
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
interface SampleFunctionalInterface { | |
// I am the only abstract method in this interface | |
int foo(); | |
} | |
interface AnotherSampleFunctionalInterface { | |
// I am the only abstract method in this interface | |
int foo(); | |
default void bar() { | |
// I am not a abstract method | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment