How to store in a a textValue
<p>Im working on a big project that acts like excel.I have a class that makes a table, a class that works as the client, a value class, NumberValue class, textValue class, a realNumber class. The realNumberValue class extends the NumberValue Class and the NumberValue class and the TextValue Class extends the Value CLass. (Inheritance) I need to know how to put in a string field, a constructor that assigns the parameter to the field in this TextValue Class.Please I really need Help.</p>

<p>This is the code that I have so far, its not much:</p>

<pre><code>public class TextValue extends Value {
    public String toString(){
        return;
    }
    public boolean isText() {
        return true;
    }
}
</code></pre>
