day09-继承的格式和基本使用
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.inmind.extends01;
|
||||
|
||||
public class Assissant extends Employee {
|
||||
|
||||
public void help(){
|
||||
System.out.println("助教在帮助学生");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user