day09--继承的入门

This commit is contained in:
2026-01-05 11:36:00 +08:00
parent 19be654735
commit 92db74e2fb
6 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package com.inmind.extend01;
public class BanZhuRen extends Employee{
//特有行为
public void manage(){
System.out.println("管理班级");
}
}