I want to invoke static method of Java 8 interface using reflection API.
public interface TimeClient {
static void testStatic() {
System.out.println("In the Static");
}
}
I am able to invoke default method of Interface but unable to invoke static method.
Aucun commentaire:
Enregistrer un commentaire