/**
 * A Parent class with constructor
 *
 * @author Mark Young (A00000000)
 */
public class Parent2 {
    private String value;

    /**
     * Create this Parent with the given value
     *
     * @param reqValue the requested value
     */
    public Parent2(String reqValue) {
        this.value = reqValue;
    }

    /**
     * Change the value of this Parent.
     *
     * @param newValue the new value
     */
    public void setValue(String newValue) {
        this.value = newValue;
    }

    /**
     * Return this Parent's value
     *
     * @return this Parent's value
     */
    public String getValue() {
        return this.value;
    }

}
