@@ -0,0 +1,1336 @@
+/**%0A * Builder%C4%A3%CA%BD%0A */%0Apublic class User %7B%0A    private String name;%0A    private int age;%0A    private String phone;%0A    private String address;%0A%0A    public static class Builder %7B%0A        private String name;%0A        private int age;%0A        private String phone;%0A        private String address;%0A%0A        public Builder(String name, int age) %7B%0A            this.name = name;%0A            this.age = age;%0A        %7D%0A%0A        public Builder phone(String phone) %7B%0A            this.phone = phone;%0A            return this;%0A        %7D%0A%0A        public Builder address(String address) %7B%0A            this.address = address;%0A            return this;%0A        %7D%0A%0A        public User build() %7B%0A            return new User(this);%0A        %7D%0A    %7D%0A%0A    public User(Builder builder) %7B%0A        this.name = builder.name;%0A        this.age = builder.age;%0A        this.phone = builder.phone;%0A        this.address = builder.address;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22User%7B%22 +%0A                %22name='%22 + name + '%5C'' +%0A                %22, age=%22 + age +%0A                %22, phone='%22 + phone + '%5C'' +%0A                %22, address='%22 + address + '%5C'' +%0A                '%7D';%0A    %7D%0A%7D%0A%0A// ----------- %C7%B2%0Apublic static void main(String%5B%5D args) %7B%0A    User user = new User.Builder(%22luoxn28%22, 23).phone(%22119%22).build();%0A%09%0A    System.out.print(user);%0A%7D

add builder pattern