package com.sz.model;标签:01,String,int,Age,User,sprint,public,name From: https://www.cnblogs.com/wugh8726254/p/17378858.html
public class User {
private String name;
private int Age;
public void setAge(int age)
{
this.Age=age;
}
public int getAge()
{
return Age;
}
public void setName(String name)
{
this.name=name;
}
public String getName()
{
return name;
}
@Override
public String toString()
{
return "User [name=" + name + ", age=" + Age + "]";
}
}