Java 8 Interface引入新特性- static method, default method
defaultmethod定义default方法publicinterfaceInterface1{voidmethod1(Stringstr);defaultvoidlog(Stringstr){System.out.println("I1logging::"+str);}}default方法使用publicclassInterface1ImplimplementsInterface1{@Ove