Semester_2/OOP/Lab_06/Exercise2/Person.java
<filename>Semester_2/OOP/Lab_06/Exercise2/Person.javapublic class Person {
    protected String name;
    protected String address;

    public Person(String name, String address) {

    }

    public String getName() {
        return this.name;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Person{" + "name='" + name + "\'" + ", address='" + this.address + "\'" + "}";
    }
}
