public class Teacher{
String name;
int age;
boolean sex;
public Teacher(){}
public Teacher(String name,int age,boolean sex){
this.name = name;
this.age = age;
this.sex = sex;
}
public void teach(){
System.out.println("teach");
}
}
05-02
3946
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)