day10--接口之间的多继承

This commit is contained in:
xx
2026-10-08 15:07:52 +08:00
parent 67fadf4a26
commit 4416664f45
4 changed files with 70 additions and 0 deletions
@@ -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的静态方法");
}
}