day09-继承的格式和基本使用
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package com.inmind.extends01;
|
||||
|
||||
public class Employee {
|
||||
String name;
|
||||
int age;
|
||||
double salary;
|
||||
double score;
|
||||
|
||||
public void work(){
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user