Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Interfaces in Java8
public class MyInterfaceImpl implements MyInterface {
@Override public void method1() {
System.out.println("Implementation of method 1");
}
@Override public void method2() {
System.out.println("Implementation of method 2");
}
public static void main(String[] args){
MyInterface obj = new MyInterfaceImpl();
obj.method1();
obj.method2();
}
}
@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Oct 25, 2015

To correct this error, either provide a redirect_uri that matches what you registered or leave out this parameter to use the default one registered ??,,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment