标签:test uil mamicode his border ott play 打包 out
lib
文件夹中package Main;
import com.alibaba.fastjson.JSON;
public class TestMain {
public static void main(String[] args) {
System.out.println("12312321423");
User user=new User();
user.setAge(10);
user.setName("nihao");
System.out.println(JSON.toJSONString(user));
}
}
class User{
private String name;
private Integer age;
public User() { }
public String getName() {
return name;
}
public Integer getAge() {
return age;
}
public void setName(String name) {
this.name = name;
}
public void setAge(Integer age) {
this.age = age;
}
}
标签:test uil mamicode his border ott play 打包 out
原文地址:https://www.cnblogs.com/ziyue7575/p/e1c7c348b6497c117f4c64270d6878ae.html