day10-多态的格式与使用

This commit is contained in:
2026-07-27 14:21:33 +08:00
parent ba066fb77b
commit cd859f9376
4 changed files with 44 additions and 0 deletions
@@ -0,0 +1,9 @@
package com.inmind.duotai08;
public class Assissant extends Employee{
@Override
public void work() {
System.out.println("助教在帮助学生");
}
}