@@ -0,0 +1,1242 @@
+package FactoryMethod;%0A%0Aimport java.io.Serializable;%0A%0Apublic class Customer implements Serializable%0A%7B%0A    %0A    private int customerId;%0A    private String name;%0A    private String surname;%0A    private String age;%0A    private String address;%0A    %0A    public Customer(int customerId,String name, String surname, String age, String address)%0A    %7B%0A        this.customerId=customerId;%0A        this.name=name;%0A        this.surname=surname;%0A        this.age=age;%0A        this.address=address;%0A                %0A    %7D%0A    %0A    public int getCustomerId() %7B%0A        return customerId;%0A    %7D%0A%0A    public void setCustomerId(int customerId) %7B%0A        this.customerId = customerId;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public String getSurname() %7B%0A        return surname;%0A    %7D%0A%0A    public void setSurname(String surname) %7B%0A        this.surname = surname;%0A    %7D%0A%0A    public String getAge() %7B%0A        return age;%0A    %7D%0A%0A    public void setAge(String age) %7B%0A        this.age = age;%0A    %7D%0A%0A    public String getAddress() %7B%0A        return address;%0A    %7D%0A%0A    public void setAddress(String address) %7B%0A        this.address = address;%0A    %7D%0A            %0A    %0A%7D%0A

Create Customer.java