package com.loca.addressbook.registry;

/**
 * Created by Ola on 2016-12-20.
 */
public class ContactDetails {

    private  String firstName;
    private  String lastName;
    private  String email;

    public ContactDetails(String firstName, String lastName, String email) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.email = email;
    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public String getEmail() {
        return email;
    }
}

@@ -33,16 +33,46 @@
 istry;%0A%0A
+import java.io.Serializable;%0A%0A
 /**%0A * C
@@ -132,16 +132,40 @@
 Details 
+implements Serializable 
 %7B%0A%0A    p

Save works