Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Interfaces in Java8
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