package com.a.b;
public class Hello2 {
String IDNumber;
String name;
int age;
public void eating(String food){
System.out.println(name+"吃"+food);
}
public void study(String book){
System.out.println(name+"正在学习"+book);
}
public void display(){
System.out.println("姓名:"+name);
}
}
java学习
最新推荐文章于 2024-08-18 22:05:18 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)