day09--继承的入门
This commit is contained in:
9
day09/src/com/inmind/extend01/BanZhuRen.java
Normal file
9
day09/src/com/inmind/extend01/BanZhuRen.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package com.inmind.extend01;
|
||||
|
||||
public class BanZhuRen extends Employee{
|
||||
|
||||
//特有行为
|
||||
public void manage(){
|
||||
System.out.println("管理班级");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user