Created
October 25, 2015 14:04
-
-
Save anjanashankar9/4b4a42e47970f9cad7fc to your computer and use it in GitHub Desktop.
Interfaces in Java8
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 interface MyInterface { | |
/** | |
* All the methods of an interface are public by default | |
*/ | |
void method1(); | |
void method2(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment