原始类型和包装类型 //首先创建两个实体类 user 和 address user中包含address package cn.jbit.bean; public class User { //用户类 private String name; //姓名 private int age; //年龄 private Address address;//住址 public Address getAddress() { return address; } public void setAddress(Ad…