day10-java的单继承多实现的操作特点

This commit is contained in:
2026-01-06 16:14:07 +08:00
parent ef4cc41c96
commit 040cef564c
6 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package com.inmind.extends_interfaces06;
public abstract class Fu {
public abstract void methodFu();
public abstract void method();
public void sameMethod(){
System.out.println("这是父类的同名的普通方法sameMethod");
};
}