现在有User类:(Getter和Setter省略) public class User implements Cloneable { private String name; private int age; private User user; @Override public User clone() { try { return (User) super.clone(); } catch (CloneNotSupportedException e) { } return null; }…