day10--接口之间的多继承
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.inmind.interface_extends07;
|
||||
|
||||
public interface MyInterface2 {
|
||||
int b = 20;
|
||||
|
||||
void method2();
|
||||
void method();
|
||||
public static void staticMethod2(){
|
||||
System.out.println("接口2的静态方法");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user