public class AbcBean {
@Override
public String toString() {
return "AbcBean [name=" + name + ", age=" + age + "]";
}
String name;
int age;
Date birthDay;
public Date getBirthDay() {
return birthDay;
}
public void setBirthDay(Date birthDay) {
this.birthDay = birthDay;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public void greeting() {
System.out.println("AbcBean.greeting()");
}
}
Java 类加载的一些理解(6)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/0f1b3fc2d9109fefd22c10b82f52f3f5.html